@Test void testDelegatesReturnsSetDelegates() { List<EventHandlerInvoker> result = testSubject.delegates(); assertTrue(result.contains(mockedEventHandlerInvokerOne)); assertTrue(result.contains(mockedEventHandlerInvokerTwo)); }
public List<EventHandlerInvoker> delegates() { return Collections.unmodifiableList(delegates); }
MultiEventHandlerInvoker implements EventHandlerInvoker { public List<EventHandlerInvoker> delegates() { return Collections.unmodifiableList(delegates); } }
MultiEventHandlerInvoker implements EventHandlerInvoker { public List<EventHandlerInvoker> delegates() { return Collections.unmodifiableList(delegates); } MultiEventHandlerInvoker(EventHandlerInvoker... delegates);  MultiEventHandlerInvoker(List<EventHandlerInvoker> delegates); }
MultiEventHandlerInvoker implements EventHandlerInvoker { public List<EventHandlerInvoker> delegates() { return Collections.unmodifiableList(delegates); } MultiEventHandlerInvoker(EventHandlerInvoker... delegates);  MultiEventHandlerInvoker(List<EventHandlerInvoker> delegates); List<EventHandlerInvoker> delegates(); @Override boolean canHandle(EventMessage<?> eventMessage, Segment segment); @Override boolean canHandleType(Class<?> payloadType); @Override void handle(EventMessage<?> message, Segment segment); @Override boolean supportsReset(); @Override void performReset(); @Override void performReset(R resetContext); }
MultiEventHandlerInvoker implements EventHandlerInvoker { public List<EventHandlerInvoker> delegates() { return Collections.unmodifiableList(delegates); } MultiEventHandlerInvoker(EventHandlerInvoker... delegates);  MultiEventHandlerInvoker(List<EventHandlerInvoker> delegates); List<EventHandlerInvoker> delegates(); @Override boolean canHandle(EventMessage<?> eventMessage, Segment segment); @Override boolean canHandleType(Class<?> payloadType); @Override void handle(EventMessage<?> message, Segment segment); @Override boolean supportsReset(); @Override void performReset(); @Override void performReset(R resetContext);  }