public void testEmpty() { Graph g = getGraph(); assertTrue(g.isEmpty()); graphAdd(g, "x rdf:type rdf:Statement"); assertFalse(g.isEmpty()); graphAdd(g, "x rdf:subject Deconstruction"); assertFalse(g.isEmpty()); graphAdd(g, "x rdf:predicate rdfs:subTypeOf"); assertFalse(g.isEmpty()); graphAdd(g, "x rdf:object LiteraryCriticism"); assertFalse(g.isEmpty()); }
@Override public boolean isEmpty() { return base.isEmpty(); }