@Nullable
    public static <T> T getWithoutException(CompletableFuture<T> future) {
        if (isCompletedNormally(future)) {
            try {
                return future.get();
            } catch (InterruptedException | ExecutionException ignored) {
            }
        }
        return null;
    }
@Test
    void testGetWithoutExceptionWithoutFinishing() {
        final CompletableFuture<Integer> completableFuture = new CompletableFuture<>();

        assertThat(FutureUtils.getWithoutException(completableFuture)).isNull();
    }