@Test
void shouldHandleFailure()
{

    RuntimeException error = new RuntimeException( "Hello" );
    handler.onFailure( error );
    RuntimeException receivedError = assertThrows( RuntimeException.class, () -> await( future ) );
    assertEquals( error, receivedError );
}