@Test
public void whenSupplyObjectThenReturnIt() throws Exception {

    Object res = new Object();
    CompletableFutureTask<Object> task = CompletableFutureTask.runAsync(() -> res, executor);
    assertSame(res, task.get());
}