function test_get_bnodes() { $input = array('_:a' => array(RDFS_SEEALSO => array(array('value' => '_:b', 'type' => 'bnode')))); $graph = new SimpleGraph($input); $actual = $graph->get_bnodes(); $expected = array('_:a', '_:b'); $this->assertEquals($expected, $actual, "get_bnodes() should return bnodes in subject and object positions"); }