client = new Client($media); $media->setColleague(new Database($media), $this->client, new Server($media)); } public function testOutputHelloWorld() { // testing if Hello World is output : $this->expectOutputString('Hello World'); $this->client->request(); } }