Exemplo n.º 1
0
 public function setUp()
 {
     $this->server = new HttpServer('localhost', 8080, __DIR__ . '/helper/server.php');
     $this->server->disableOutput();
     $this->server->start();
     $this->client = new HttpClient();
 }
Exemplo n.º 2
0
 public function test_enable_and_disable_output()
 {
     $server = new HttpServer('localhost', 6789, __DIR__);
     $server->enableOutput();
     $server->disableOutput();
 }