@Test
public void testAddAll() {

    NodeStore nodeStore = new NodeStore();
    NodeImpl[] nodes = GraphGenerator.generateLargeNodeList();
    boolean a = nodeStore.addAll(Arrays.asList(nodes));
    Assert.assertEquals(nodeStore.size(), nodes.length);
    Assert.assertTrue(a);
    testContainsOnly(nodeStore, Arrays.asList(nodes));
    boolean b = nodeStore.addAll(Arrays.asList(nodes));
    Assert.assertFalse(b);
    boolean c = nodeStore.addAll(new ArrayList<Node>());
    Assert.assertFalse(c);
}