@Test
public void testRemoveAll() {

    NodeStore nodeStore = new NodeStore();
    NodeImpl[] nodes = new NodeImpl[] { new NodeImpl("0"), new NodeImpl("1"), new NodeImpl("2") };
    nodeStore.addAll(Arrays.asList(nodes));
    boolean a = nodeStore.removeAll(new ArrayList<Node>());
    Assert.assertFalse(a);
    boolean b = nodeStore.removeAll(Arrays.asList(nodes));
    Assert.assertTrue(b);
    Assert.assertTrue(nodeStore.isEmpty());
    testContainsNone(nodeStore, Arrays.asList(nodes));
}