@Test public void stop() { serviceContainer.stop(); verify(executorService).shutdown(); verify(service).stop(); }
@PreDestroy public void stop() { executorService.shutdown(); service.stop(); }
ServiceContainer implements Runnable { @PreDestroy public void stop() { executorService.shutdown(); service.stop(); } }
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); }
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(); }
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();  }