@Test
void nothingIsLoggedOnFatalFailure()
{

    Logging logging = mock( Logging.class );
    Logger logger = mock( Logger.class );
    when( logging.getLog( anyString() ) ).thenReturn( logger );
    ExponentialBackoffRetryLogic logic = new ExponentialBackoffRetryLogic( RetrySettings.DEFAULT, eventExecutor,
            mock( Clock.class ), logging );
    RuntimeException error = assertThrows( RuntimeException.class, () ->
            logic.retry( () ->
            {
                throw new RuntimeException( "Fatal blocking" );
            } ) );
    assertEquals( "Fatal blocking", error.getMessage() );
    verifyZeroInteractions( logger );
}