setClass(new Foo(), 'Foo'); $server->setReturnResponse(false); $server->handle(); })();