@Test
void shouldCreateFailedFutureWithUncheckedException() throws Exception
{

    RuntimeException error = new RuntimeException( "Hello" );
    CompletableFuture<Object> future = Futures.failedFuture( error ).toCompletableFuture();
    assertTrue( future.isCompletedExceptionally() );
    ExecutionException e = assertThrows( ExecutionException.class, future::get );
    assertEquals( error, e.getCause() );
}