SwaggerContainerLifecycleListener implements ContainerLifecycleListener { @Override public void onReload(final Container container) { } SwaggerContainerLifecycleListener(final String classPath); ServletContext getContext(); void setContext(final ServletContext context); @Override void onStartup(final Container container); @Override void onReload(final Container container); @Override void onShutdown(final Container container);  }
@Test public void onReload() { Container container = mock(Container.class); listener.onReload(container); Mockito.verifyNoMoreInteractions(container); }