}
/** Smoke test for patcher */
public void testPatcher() {
AlertPatcher p = new AlertPatcher();
AlertPatchService service = mock(AlertPatchService.class);
when(service.getStopPatches(any(AgencyAndId.class))).thenReturn(new ArrayList<AlertPatch>());
when(service.getRoutePatches(any(AgencyAndId.class))).thenReturn(new ArrayList<AlertPatch>());
p.alertPatchService = service;
AlertPatchResponse stopPatches = p.getStopPatches("TriMet", "5678");
assertNull(stopPatches.alertPatches);
AlertPatchResponse routePatches = p.getRoutePatches("TriMet", "100");