@Test(expectedExceptions = NullPointerException.class)
public void testNullSource() {

    NodeImpl n1 = new NodeImpl("0");
    EdgeImpl e1 = new EdgeImpl("0", null, n1, 0, 1.0, true);
    EdgeStore edgeStore = new EdgeStore();
    edgeStore.add(e1);
}