@Test
void shouldConvertRunningNettyFutureToCompletionStageWhenFutureSucceeded() throws Exception
{

    DefaultPromise<String> promise = new DefaultPromise<>( ImmediateEventExecutor.INSTANCE );
    CompletableFuture<String> future = Futures.asCompletionStage( promise ).toCompletableFuture();
    assertFalse( future.isDone() );
    promise.setSuccess( "Hello" );
    assertTrue( future.isDone() );
    assertFalse( future.isCompletedExceptionally() );
    assertEquals( "Hello", future.get() );
}