@Test(expectedExceptions = IllegalStateException.class)
public void testGetWeightIntervalError() {

    GraphStore graphStore = GraphGenerator.generateTinyGraphStore(TimeRepresentation.INTERVAL);
    Edge e = graphStore.getEdge("0");
    e.getWeight(new Interval(1.0, 2.0));
}