@Test
public void run_sagaHasContinuedAndIsFinished_cancelTimeouts() {

    // given
    final String sagaId = RandomStringUtils.randomAlphanumeric(10);
    when(state.getSagaId()).thenReturn(sagaId);
    when(saga.isFinished()).thenReturn(true);
    when(sagaInstanceInfo.isStarting()).thenReturn(false);
    // when
    sut.run();
    // then
    verify(timeoutManager).cancelTimeouts(sagaId);
}