setEndpoint() public method

public setEndpoint ( $endpoint )
コード例 #1
0
ファイル: GuzzleBasicTest.php プロジェクト: rcrowe/hippy
 public function testSetEndpoint()
 {
     $guzzle = new Guzzle('123', 'egg', 'vivalacrowe');
     $guzzle->setEndpoint('https://api.hipchat.com/v23890490234/');
     $this->assertEquals($guzzle->getEndpoint(), 'https://api.hipchat.com/v23890490234/');
 }