@Test
void invoke_continueContext_callsContinueHandler() throws InvocationTargetException, IllegalAccessException {

    // given
    sut = sutWithSameMessageHandler();
    SameMessageHandlers saga = new SameMessageHandlers();
    saga.createNewState();
    // when
    sut.invoke(createContext(saga, "message", InvocationHandlerType.CONTINUE));
    // then
    assertThat("Expected the continue handler to be executed.", saga.isContinueHandlerCalled(), is(true));
}