@Test
public void testAddShortcuts()
{

    GraphHopperStorage g = createExampleGraph();
    CHGraph lg = g.getGraph(CHGraph.class);
    int old = lg.getAllEdges().getMaxId();
    PrepareContractionHierarchies prepare = new PrepareContractionHierarchies(dir, g, lg, carEncoder, weighting, tMode);
    prepare.doWork();
    assertEquals(old + 1, lg.getAllEdges().getMaxId());
}