public function testGetNodeId() { $bnode = new EasyRdf_Resource('_:foobar'); $this->assertEquals('foobar', $bnode->getNodeId()); }
public function testGetNodeIdForUri() { $nonbnode = new EasyRdf_Resource('http://www.exaple.com/'); $this->assertSame(NULL, $nonbnode->getNodeId()); }