question: public void testSubmitRunnable ( ) throws Throwable { ExecutorService e = new ForkJoinPool ( 1 ) ; PoolCleaner cleaner = null ; try { cleaner = cleaner ( e ) ; Future < ? > future = e . submit ( new NoOpRunnable ( ) ) ; assertNull ( future . get ( ) ) ; assertTrue ( future . isDone ( ) ) ; assertFalse ( future . isCancelled ( ) ) ; } finally { if ( cleaner != null ) { cleaner . close ( ) ; } } }
target:  Completed submit(runnable) returns successfully