@Test
public void testGetGraph() {
TcProvider simpleTcmProvider = getInstance();
// add Graphs
MGraph mGraph = new SimpleMGraph();
mGraph.add(new TripleImpl(uriRefA, uriRefA, uriRefA));
simpleTcmProvider.createGraph(uriRefA, mGraph);
mGraph = new SimpleMGraph();
mGraph.add(new TripleImpl(uriRefA1, uriRefA1, uriRefA1));
simpleTcmProvider.createGraph(uriRefA1, mGraph);
mGraph = new SimpleMGraph();
mGraph.add(new TripleImpl(uriRefB, uriRefB, uriRefB));
simpleTcmProvider.createGraph(uriRefB, mGraph);
mGraph = new SimpleMGraph();
mGraph.add(new TripleImpl(uriRefB1, uriRefB1, uriRefB1));
simpleTcmProvider.createGraph(uriRefB1, mGraph);
Graph bGraph = simpleTcmProvider.getGraph(uriRefB);
Iterator<Triple> iterator = bGraph.iterator();
assertEquals(new TripleImpl(uriRefB, uriRefB, uriRefB), iterator.next());