@Test
public void testDeleteEntity() {
TcProvider simpleTcmProvider = getInstance();
MGraph mGraph = new SimpleMGraph();
mGraph.add(new TripleImpl(uriRefA, uriRefA, uriRefA));
Graph graph = mGraph.getGraph();
simpleTcmProvider.createGraph(uriRefA, graph);
simpleTcmProvider.createGraph(uriRefC, graph);
simpleTcmProvider.deleteTripleCollection(uriRefA);
try {
simpleTcmProvider.getGraph(uriRefA);
assertTrue(false);
} catch (NoSuchEntityException e) {
assertTrue(true);
}
// Check that graph is still available under uriRefC
Graph cGraph = simpleTcmProvider.getGraph(uriRefC);
assertNotNull(cGraph);
}