@Test
public void testRemoveEdge() {

    GraphStore graphStore = new GraphStore();
    NodeStore nodeStore = GraphGenerator.generateNodeStore(2);
    EdgeImpl edge = GraphGenerator.generateEdgeList(nodeStore, 1, 0, true, true, false)[0];
    graphStore.addEdge(edge);
    Assert.assertTrue(graphStore.removeEdge(edge));
    Assert.assertFalse(graphStore.contains(edge));
    Assert.assertEquals(graphStore.getEdgeCount(), 0);
    Assert.assertFalse(graphStore.removeEdge(edge));
}