void () { ExecutorService executor = createBoundedScheduledExecutor(AppExecutorUtil.getAppExecutorService(), 1); executor.shutdown(); assertTrue(executor.isShutdown()); executor.shutdown(); assertTrue(executor.isShutdown()); }