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/'); }