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

    EdgeStore edgeStore = new EdgeStore();
    EdgeImpl edge = GraphGenerator.generateSingleEdge();
    edgeStore.add(edge);
    EdgeImpl edge2 = GraphGenerator.generateSingleEdge();
    edgeStore.add(edge2);
}