@Test void testPerformReset() { when(mockedEventHandlerInvokerOne.supportsReset()).thenReturn(true); when(mockedEventHandlerInvokerTwo.supportsReset()).thenReturn(false); testSubject.performReset(); verify(mockedEventHandlerInvokerOne, times(1)).performReset(eq(NO_RESET_PAYLOAD)); verify(mockedEventHandlerInvokerTwo, never()).performReset(eq(NO_RESET_PAYLOAD)); }
@Override public void performReset() { performReset(null); }
MultiEventHandlerInvoker implements EventHandlerInvoker { @Override public void performReset() { performReset(null); } }
MultiEventHandlerInvoker implements EventHandlerInvoker { @Override public void performReset() { performReset(null); } MultiEventHandlerInvoker(EventHandlerInvoker... delegates);  MultiEventHandlerInvoker(List<EventHandlerInvoker> delegates); }
MultiEventHandlerInvoker implements EventHandlerInvoker { @Override public void performReset() { performReset(null); } 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 { @Override public void performReset() { performReset(null); } 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);  }