@Test
public void testGetOpposite() {

    GraphStore graphStore = GraphGenerator.generateTinyGraphStore();
    GraphViewStore store = graphStore.viewStore;
    GraphViewImpl view = store.createView();
    DirectedSubgraph graph = store.getDirectedGraph(view);
    view.fill();
    Assert.assertSame(graph.getOpposite(graph.getNode("1"), graph.getEdge("0")), graph.getNode("2"));
}