AgencyBean agency = new AgencyBean();
Mockito.when(_agencyBeanService.getAgencyForId("1")).thenReturn(agency);
Mockito.when(_narrativeService.getRouteCollectionForId(routeId)).thenReturn(
route);
RouteBean bean = _service.getRouteForId(routeId);
assertEquals(route.getColor(), bean.getColor());
assertEquals(route.getDescription(), bean.getDescription());
assertEquals(AgencyAndIdLibrary.convertToString(routeId), bean.getId());
assertEquals(route.getLongName(), bean.getLongName());
assertEquals(route.getShortName(), bean.getShortName());
assertEquals(route.getTextColor(), bean.getTextColor());
assertEquals(route.getType(), bean.getType());
assertEquals(route.getUrl(), bean.getUrl());
}