@Test public void testGetAllRoutes() { ArrayList<Route> routes = test_dbh.getAllRoutes(); assertEquals(testRoute1.getId(), routes.get(0).getId()); assertEquals(testRoute2.getId(), routes.get(1).getId()); // assertEquals(testRoute3.getId(), routes.get(2).getId()); }
@Test public void testGetRoute() { Route route = test_dbh.getRoute(1); assertEquals(testRoute1.getId(), route.getId()); }