model.checkLocation(l);
}
@Test(expected = IllegalArgumentException.class)
public void checkLocationFail2() {
final Loc l = GraphRoadModel.newLoc(new Connection<ConnectionData>(
new Point(-10, -10), new Point(100, 0), null), 1);
model.checkLocation(l);
}