@Test void invoke_anyMessage_handleMethodNotFound_doesNotThrow() { TestSaga saga = new TestSaga(); saga.createNewState(); catchException(() -> sut.invoke(createContext(saga, 42))); assertThat("Expected no exception to be thrown.", caughtException(), is(nullValue())); }
@Override public void invoke(final Saga saga, final Object message) { }
ReflectionInvoker implements HandlerInvoker { @Override public void invoke(final Saga saga, final Object message) { } }
ReflectionInvoker implements HandlerInvoker { @Override public void invoke(final Saga saga, final Object message) { } @Inject  ReflectionInvoker(final SagaAnalyzer analyzer); }
ReflectionInvoker implements HandlerInvoker { @Override public void invoke(final Saga saga, final Object message) { } @Inject  ReflectionInvoker(final SagaAnalyzer analyzer); @Override void invoke(final Saga saga, final Object message); @Override void invoke(final InvocationContext invocationContext); }
ReflectionInvoker implements HandlerInvoker { @Override public void invoke(final Saga saga, final Object message) { } @Inject  ReflectionInvoker(final SagaAnalyzer analyzer); @Override void invoke(final Saga saga, final Object message); @Override void invoke(final InvocationContext invocationContext);  }