public function testOutputHelloWorld()
 {
     $client = new Client();
     new Mediator(new Database(), $client, new Server());
     $this->expectOutputString('Hello World');
     $client->request();
 }
Esempio n. 2
0
 /**
  * send response
  *
  * @param string $content
  */
 public function sendResponse($content)
 {
     $this->client->output($content);
 }