@Test
public void testFailedShouldLogError() {

    //GIVEN
    SystemException e = new SystemException(ERR_MSG);
    State state = Mockito.mock(State.class);
    //WHEN
    underTest.failed(state, e);
    //THEN
    verify(logger).error(FAILED_MESSAGE, e);
}