示例#1
0
 public function testReplaceLiteralTripleReturnsFalseIfNoReplacementMade()
 {
     $graph = new ExtendedGraph();
     $graph->add_literal_triple('http://some/subject/s1', 'http://some/predicate', 'some object');
     $this->assertFalse($graph->replace_literal_triple('http://some/othersubject/s1', 'http://some/predicate', 'some object', 'replacement object'), 'Should return FALSE');
 }