@Test
    public void testRunnable_run() {
        AtomicBoolean executed = new AtomicBoolean(false);

        Runnable runnable = Blocking.runnable(() -> executed.set(true));

        CompletableFuture.runAsync(runnable, pool)
                .join();
        Assert.assertTrue("The given runnable has not been executed", executed.get());
    }
Test that {@link Blocking#runnable(java.lang.Runnable) } executes the given runnable.
jOOL/src/test/java/org/jooq/lambda/BlockingTest.java