/** * @todo Implement testInitWithUri(). */ public function testInitWithUri() { $r = Erfurt_Rdf_Resource::initWithUri('http://example.org/resource123'); $this->assertTrue($r instanceof Erfurt_Rdf_Resource); $this->assertEquals('http://example.org/resource123', $r->getUri()); $this->assertEquals('http://example.org/', $r->getNamespace()); $this->assertEquals('resource123', $r->getLocalName()); }