public void testChangeTargetAlsoAffectsRouteList() throws IOException {
getFirstVehicle();
Vehicle v = firstVehicle;
ChangeTargetQuery ctq = v.queryChangeTarget();
ctq.setValue(conn.getEdgeRepository().getByID("end"));
ctq.run();
List<Edge> route = v.queryReadCurrentRoute().get();
assertEquals("end", route.get(route.size()-1).getID());
}
@Test