/** * Test we can SET and GET a URI as object * */ public function testSetGetUriObject() { $uristr = 'http://www.bbc.co.uk:80/'; $this->_client->setUri('http://www.bbc.co.uk:80/'); $uri = $this->_client->getUri(); $this->assertEquals($uristr, $uri); }
/** * Test we can SET and GET a URI as object * */ public function testSetGetUriObject() { $uristr = 'http://www.bbc.co.uk:80/'; $obj = new EasyRdf_Resource($uristr); $this->_client->setUri($obj); $uri = $this->_client->getUri(); $this->assertEquals($uristr, $uri); }