public function testGetEndpoint() { $this->object->setEndpoint('http://www.hello.fr/hey.cgi'); $this->assertTrue(is_string($this->object->getEndpoint())); $this->assertEquals('http://www.hello.fr/hey.cgi', $this->object->getEndpoint()); }