### Question:
ServiceContainer implements Runnable { @PreDestroy public void stop() { executorService.shutdown(); service.stop(); } ServiceContainer(final Service service);  ServiceContainer(
            final Service service,
            final ScheduledExecutorService executorService,
            final long initialDelay,
            final long period); @PostConstruct void start(); @PreDestroy void stop(); @Override void run();  }### Answer:
@Test public void stop() { serviceContainer.stop(); verify(executorService).shutdown(); verify(service).stop(); }