TimedTasksLifecycleListener implements ContainerLifecycleListener { @Override public void onReload(final Container container) { } @Inject  TimedTasksLifecycleListener(final InjectionManager injector); @Override void onStartup(final Container container); @Override void onReload(final Container container); @Override void onShutdown(final Container container);  }
@Test public void onReload() { Container container = Mockito.mock(Container.class); listener.onReload(container); Mockito.verifyNoMoreInteractions(container); }