Esempio n. 1
0
 public function testAddAndGetEndpoints()
 {
     $options = array('s1' => array('host' => 's1.local'), array('key' => 's2', 'host' => 's2.local'));
     $this->client->addEndpoints($options);
     $endpoints = $this->client->getEndpoints();
     $this->assertEquals('s1.local', $endpoints['s1']->getHost());
     $this->assertEquals('s2.local', $endpoints['s2']->getHost());
 }