@Test(expectedExceptions = IllegalArgumentException.class)
public void testDictionaryDuplicate() {

    NodeStore nodeStore = new NodeStore();
    NodeImpl node = new NodeImpl("1");
    nodeStore.add(node);
    NodeImpl node2 = new NodeImpl("1");
    nodeStore.add(node2);
}