@Test
public void testThatSnapSnapsCorrectlyToADiagonalLine() {

    SimpleWaySnap simpleWaySnap = new SimpleWaySnap(new XYPointFactory(), edges);
    NicGeoPoint geoPointIn1 = new XYPoint(50722200, 7061630);
    NicGeoPoint geoPointOut1 = simpleWaySnap.snap(geoPointIn1);
    assertEquals(50722199, geoPointOut1.getLatitudeE6());
    assertEquals(7061635, geoPointOut1.getLongitudeE6());
}