@Test
public void testTerminatedShouldLogMessage() {

    //GIVEN
    State state = Mockito.mock(State.class);
    //WHEN
    underTest.terminated(state);
    //THEN
    verify(logger).info(TERMINATED_MESSAGE);
}