routeBuilder.setLongName("route long name");
routeBuilder.setShortName("route short name");
routeBuilder.setTextColor("red");
routeBuilder.setType(3);
routeBuilder.setUrl("http://wwww.route.com");
RouteCollectionNarrative route = routeBuilder.create();
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());
}