function test_remove_triples_about_affects_only_specified_subject() { $g = new SimpleGraph(); $g->add_resource_triple('http://example.org/subj', 'http://example.org/pred', 'http://example.org/obj'); $g->add_literal_triple('http://example.org/subj2', 'http://example.org/pred', 'literal'); $g->remove_triples_about('http://example.org/subj'); $this->assertEquals(1, count($g->get_triples())); }