@Test
  public void whenAnExceptionOccursWhileHandlingAnEvent_thenAnErrorWithTheExceptionIsLogged() {
    disruptorExceptionHandlerUnderTest.handleEventException(
        exceptionMock, Long.MIN_VALUE, eventMock);

    verify(logMock).error(anyString(), same(eventMock), same(exceptionMock));
  }
  @Test
  public void whenAnExceptionOccursOnShutdown_thenAnErrorWithTheExceptionIsLogged() {
    disruptorExceptionHandlerUnderTest.handleOnShutdownException(exceptionMock);

    verify(logMock).error(anyString(), same(exceptionMock));
  }