Example #1
0
 /**
  * Setup HTTP client / server.
  */
 protected function setUp()
 {
     parent::setUp();
     $this->httpServer = new HttpTestEndpoint($this->getDrivers(), 'localhost:1337', $this->isEncrypted());
     $this->httpClient = new HttpTestClient($this->getConnectors(), $this->httpServer);
 }