@Test public void shouldCallOnError() {

  // given
  final String message = "error message";
  final Exception exception = new Exception();

  // when
  strategy.onError(message, exception);

  // then
  verify(strategy, times(1)).onError(message, exception);
}