* @throws IOException
*/
@Test
public void testChangeRoute() throws IOException {
getFirstVehicle();
Vehicle v = firstVehicle;
List<Edge> newRoute = new ArrayList<Edge>();
newRoute.add(conn.getEdgeRepository().getByID("beg"));
newRoute.add(conn.getEdgeRepository().getByID("beg2left"));
newRoute.add(conn.getEdgeRepository().getByID("left"));
newRoute.add(conn.getEdgeRepository().getByID("left2end"));
v.changeRoute(newRoute);
assertEquals(newRoute, v.getCurrentRoute());
}