@Test
public void testRemoveAllEdges() {

    GraphStore graphStore = new GraphStore();
    NodeStore nodeStore = GraphGenerator.generateNodeStore(5);
    EdgeImpl[] edges = GraphGenerator.generateEdgeList(nodeStore, 5, 0, true, true, false);
    graphStore.addAllEdges(Arrays.asList(edges));
    graphStore.removeAllEdges(Arrays.asList(edges));
    Assert.assertEquals(graphStore.getEdgeCount(), 0);
    for (EdgeImpl e : edges) {
        Assert.assertFalse(graphStore.contains(e));
    }
}