public void testNoOpScheduledExecutorShutdown() {
   ListeningScheduledExecutorService executor = TestingExecutors.noOpScheduledExecutor();
   assertFalse(executor.isShutdown());
   assertFalse(executor.isTerminated());
   executor.shutdown();
   assertTrue(executor.isShutdown());
   assertTrue(executor.isTerminated());
 }
 /*
  * (non-Javadoc)
  *
  * @see com.google.common.util.concurrent.AbstractScheduledService#shutDown()
  */
 @Override
 protected void shutDown() throws Exception {
   service.shutdown();
   super.shutDown();
 }