@Test public void forwards_internal_errors_to_the_listener() { Throwable cause = new Throwable("dummy exception"); notifier.fireInternalError("the message", cause); verify(listener).onInternalError("the message", cause); }
@Override public void fireInternalError(String message, Throwable cause) { listener.tell().onInternalError(message, cause); }
ThreadBoundSuiteNotifier implements SuiteNotifier { @Override public void fireInternalError(String message, Throwable cause) { listener.tell().onInternalError(message, cause); } }
ThreadBoundSuiteNotifier implements SuiteNotifier { @Override public void fireInternalError(String message, Throwable cause) { listener.tell().onInternalError(message, cause); } ThreadBoundSuiteNotifier(ActorRef<RunListener> listener, RunIdSequence runIdSequence, OutputCapturer outputCapturer); }
ThreadBoundSuiteNotifier implements SuiteNotifier { @Override public void fireInternalError(String message, Throwable cause) { listener.tell().onInternalError(message, cause); } ThreadBoundSuiteNotifier(ActorRef<RunListener> listener, RunIdSequence runIdSequence, OutputCapturer outputCapturer); @Override void fireTestFound(TestId testId, String name); @Override TestNotifier fireTestStarted(TestId testId); @Override void fireInternalError(String message, Throwable cause); }
ThreadBoundSuiteNotifier implements SuiteNotifier { @Override public void fireInternalError(String message, Throwable cause) { listener.tell().onInternalError(message, cause); } ThreadBoundSuiteNotifier(ActorRef<RunListener> listener, RunIdSequence runIdSequence, OutputCapturer outputCapturer); @Override void fireTestFound(TestId testId, String name); @Override TestNotifier fireTestStarted(TestId testId); @Override void fireInternalError(String message, Throwable cause);  }