Beispiel #1
0
 public function testSetUri()
 {
     $client = new Client();
     $this->assertEquals('', (string) $client->getUri());
     $client->setUri('tcp://192.168.241.21:1987');
     $this->assertEquals('tcp://192.168.241.21:1987', (string) $client->getUri());
     $client->setUri('');
 }