@Test public void testFailedShouldLogError() { SystemException e = new SystemException(ERR_MSG); State state = Mockito.mock(State.class); underTest.failed(state, e); verify(logger).error(FAILED_MESSAGE, e); }
@Override public void failed(final State from, final Throwable failure) { logger.error(FAILED_MESSAGE, failure); }
WilmaServiceListener extends Service.Listener { @Override public void failed(final State from, final Throwable failure) { logger.error(FAILED_MESSAGE, failure); } }
WilmaServiceListener extends Service.Listener { @Override public void failed(final State from, final Throwable failure) { logger.error(FAILED_MESSAGE, failure); }  }
WilmaServiceListener extends Service.Listener { @Override public void failed(final State from, final Throwable failure) { logger.error(FAILED_MESSAGE, failure); }  @Override void running(); @Override void terminated(final State from); @Override void failed(final State from, final Throwable failure); }
WilmaServiceListener extends Service.Listener { @Override public void failed(final State from, final Throwable failure) { logger.error(FAILED_MESSAGE, failure); }  @Override void running(); @Override void terminated(final State from); @Override void failed(final State from, final Throwable failure);  }