@Test public void nothingHappens_whenConditionIsEvaluated() { final UserProcessController controller = spy(new UserProcessController()); final ConditionEvaluatedEvent event = new ConditionEvaluatedEvent(""); controller.conditionEvaluated(event); assertThat(controller.manualUserResponse).isEmpty(); verify(controller).conditionEvaluated(event); verifyNoMoreInteractions(controller); }
public void conditionEvaluated(@SuppressWarnings("unused") final ConditionEvaluatedEvent event) { }
UserProcessController { public void conditionEvaluated(@SuppressWarnings("unused") final ConditionEvaluatedEvent event) { } }
UserProcessController { public void conditionEvaluated(@SuppressWarnings("unused") final ConditionEvaluatedEvent event) { }  }
UserProcessController { public void conditionEvaluated(@SuppressWarnings("unused") final ConditionEvaluatedEvent event) { }  void executionPaused(); void conditionEvaluated(@SuppressWarnings("unused") final ConditionEvaluatedEvent event); @SuppressWarnings("unused") Optional<ServerResponse> takeCurrentResponse(final PausingPoint pausingPoint,
            final QualifiedKeywordName currentlyFailedKeyword); FutureTask<ServerResponse> takeFutureResponse(); void disconnect(final Runnable whenResponseIsSent); void interrupt(final Runnable whenResponseIsSent); void terminate(final Runnable whenResponseIsSent); void pause(final Runnable whenResponseIsSent); void resume(final Runnable whenResponseIsSent); }
UserProcessController { public void conditionEvaluated(@SuppressWarnings("unused") final ConditionEvaluatedEvent event) { }  void executionPaused(); void conditionEvaluated(@SuppressWarnings("unused") final ConditionEvaluatedEvent event); @SuppressWarnings("unused") Optional<ServerResponse> takeCurrentResponse(final PausingPoint pausingPoint,
            final QualifiedKeywordName currentlyFailedKeyword); FutureTask<ServerResponse> takeFutureResponse(); void disconnect(final Runnable whenResponseIsSent); void interrupt(final Runnable whenResponseIsSent); void terminate(final Runnable whenResponseIsSent); void pause(final Runnable whenResponseIsSent); void resume(final Runnable whenResponseIsSent);  }