@Test
public void testThatSnapReturnsTheGeoPointAsItWasWhenEdgesIsNull() {

    Set<Edge> edges = null;
    SimpleWaySnap simpleWaySnap = new SimpleWaySnap(new XYPointFactory(), edges);
    NicGeoPoint geoPointIn = new XYPoint(1000000, 1000000);
    NicGeoPoint geoPointOut = simpleWaySnap.snap(geoPointIn);
    assertEquals(geoPointIn.getLatitudeE6(), geoPointOut.getLatitudeE6());
    assertEquals(geoPointIn.getLongitudeE6(), geoPointOut.getLongitudeE6());
}