### Question:
ManagedThreadPoolExecutor extends ThreadPoolExecutor { public boolean isRunning() { return !isStopped; } ManagedThreadPoolExecutor(int corePoolSize, int maximumPoolSize,
                            long keepAliveTime, TimeUnit unit,
                            BlockingQueue<Runnable> workQueue); void start(); void stop(); boolean isRunning();  }### Answer:
@Test public void isStoppedAfterCreation() { ManagedThreadPoolExecutor executor = createExecutor(1); executor.execute(Assert::fail); assertFalse(executor.isRunning()); }