@Override
    public void shutdown() {
        shutdown.set(true);
    }
@Test(expected = RejectedExecutionException.class)
    public void execute_rejected_whenShutdown() {
        ManagedExecutorService executorService = newManagedExecutorService();
        executorService.shutdown();

        executeNopTask(executorService);
    }