@Test
void nothingIsLoggedOnFatalFailureAsync()
{

    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, () ->
            await( logic.retryAsync( () -> failedFuture( new RuntimeException( "Fatal async" ) ) ) ) );
    assertEquals( "Fatal async", error.getMessage() );
    verifyZeroInteractions( logger );
}