@Test
public void testAlreadyCompleteUnmodifiableFuture()
{

    CompletableFuture<String> future = completedFuture("done");
    CompletableFuture<String> unmodifiableFuture = unmodifiableFuture(future);
    assertEquals(future.getNow(null), "done");
    assertTrue(unmodifiableFuture.isDone());
    assertEquals(unmodifiableFuture.getNow(null), "done");
}