@Test
public void testCreate() throws InterruptedException {

    final CountDownLatch countDownLatch = new CountDownLatch(1);
    ListenableFutureTask<Boolean> futureTask = ListenableFutureTask.create(new Callable<Boolean>() {
        @Override
        public Boolean call() throws Exception {
            countDownLatch.countDown();
            return true;
        }
    });
    futureTask.run();
    countDownLatch.await();
}