Exemplo n.º 1
0
 public function testGetSetHost()
 {
     $host = '127.0.0.1';
     $server = new Server($this->mockProcessManager, $this->mockPrimer);
     $this->assertNull($server->getHost());
     $this->assertSame($server, $server->setHost($host));
     $this->assertSame($host, $server->getHost());
 }