@Test
public void testIsIncident() {

    GraphStore graphStore = GraphGenerator.generateTinyGraphStore();
    Node n1 = graphStore.getNode("1");
    Assert.assertTrue(graphStore.isIncident(n1, graphStore.getEdge("0")));
    Edge edge = graphStore.factory.newEdge("edge", n1, n1, EdgeTypeStore.NULL_LABEL, 1.0, true);
    graphStore.addEdge(edge);
    Assert.assertTrue(graphStore.isIncident(edge, graphStore.getEdge("0")));
}