@Test
public void testContains() {

    NodeStore nodeStore = new NodeStore();
    NodeImpl node = new NodeImpl("0");
    nodeStore.add(node);
    Assert.assertTrue(nodeStore.contains(node));
    Assert.assertFalse(nodeStore.contains(new NodeImpl("0")));
    Assert.assertFalse(nodeStore.contains(new NodeImpl("2")));
}