Assert.assertEquals(0, graph.size());
}
@Test
public void testRemoveSameTripleTwice() throws Exception {
MGraph graph = getEmptyMGraph();
final Triple tripleAlice= createTriple(
"http://example.org/ontology/Person",
"http://example.org/ontology/hasName",
"http://example.org/people/alice");
final Triple tripleBob= createTriple(
"http://example.org/ontology/Person",
"http://example.org/ontology/hasName",
"http://example.org/people/bob");
Assert.assertTrue(graph.add(tripleAlice));
Assert.assertTrue(graph.add(tripleBob));
Assert.assertTrue(graph.remove(tripleAlice));
Assert.assertFalse(graph.remove(tripleAlice));
Assert.assertEquals(1, graph.size());
}