@Test
public void completedNormally() {

    CompletableFuture<Void> future = new CompletableFuture<>();
    assertFalse(MoreAsyncUtil.isCompletedNormally(future));
    future.complete(null);
    assertTrue(MoreAsyncUtil.isCompletedNormally(future));
    future = new CompletableFuture<>();
    future.completeExceptionally(new RuntimeException("FATAL ERROR"));
    assertFalse(MoreAsyncUtil.isCompletedNormally(future));
}