@Test
public void testAddAll() {

    EdgeStore edgeStore = new EdgeStore();
    EdgeImpl[] edges = GraphGenerator.generateLargeEdgeList();
    boolean a = edgeStore.addAll(Arrays.asList(edges));
    Assert.assertEquals(edgeStore.size(), edges.length);
    Assert.assertTrue(a);
    testContainsOnly(edgeStore, Arrays.asList(edges));
    boolean b = edgeStore.addAll(Arrays.asList(edges));
    Assert.assertFalse(b);
    boolean c = edgeStore.addAll(new ArrayList<Edge>());
    Assert.assertFalse(c);
}