@Test public void testForwardSearch_NotEnabled() throws Exception { NextServiceIdSetter first = new NextServiceIdSetter(getName(), "third"); MarkerService second = new MarkerService("second"); MarkerService third = new MarkerService("third"); MarkerService fourth = new MarkerService("fourth"); ServiceList service = new ServiceList(first, second, third, fourth); service.setAllowForwardSearch(false); try { LifecycleHelper.initAndStart(service); AdaptrisMessage msg = AdaptrisMessageFactory.getDefaultInstance().newMessage(); service.doService(msg); assertTrue(second.hasTriggered); assertTrue(third.hasTriggered); assertTrue(fourth.hasTriggered); } finally { LifecycleHelper.stopAndClose(service); } }
public void setAllowForwardSearch(Boolean b) { this.allowForwardSearch = b; }
ServiceList extends ServiceListBase { public void setAllowForwardSearch(Boolean b) { this.allowForwardSearch = b; } }
ServiceList extends ServiceListBase { public void setAllowForwardSearch(Boolean b) { this.allowForwardSearch = b; } ServiceList();  ServiceList(Collection<Service> serviceList);  ServiceList(Service... serviceList); }
ServiceList extends ServiceListBase { public void setAllowForwardSearch(Boolean b) { this.allowForwardSearch = b; } ServiceList();  ServiceList(Collection<Service> serviceList);  ServiceList(Service... serviceList); Boolean getAllowForwardSearch(); void setAllowForwardSearch(Boolean b); }
ServiceList extends ServiceListBase { public void setAllowForwardSearch(Boolean b) { this.allowForwardSearch = b; } ServiceList();  ServiceList(Collection<Service> serviceList);  ServiceList(Service... serviceList); Boolean getAllowForwardSearch(); void setAllowForwardSearch(Boolean b);  }