@Test
public void testSimplestRouting() {

	Point origin = new Point(new CoordinateArraySequence(
			new Coordinate[] { new Coordinate(x, y) }), gf);
	List<Point> stops = new LinkedList<Point>();
	for (int i = 0; i < 5; i++) {
		double d = r.nextDouble() / 8;
		if (r.nextBoolean())
			d = -d;
		double d2 = r.nextDouble() / 8;
		if (r.nextBoolean())
			d2 = -d2;
		Point p = new Point(new CoordinateArraySequence(
				new Coordinate[] { new Coordinate(x + d, y + d2) }), gf);
		stops.add(p);
	}
	DetermineRouteResponseType determineRoute = OpenLSClient
			.determineRoute(url, origin, stops);
	assertNotNull(determineRoute);
	assertNotNull(determineRoute.getRouteGeometry().getLineString());
	assertTrue(determineRoute.getRouteGeometry().getLineString()
			.getPosList().getValue().size() > 0);
}