JRestlessHandlerContainer implements Container { public void onShutdown() { LOG.info("stopping container..."); appHandler.onShutdown(this); LOG.info("stopped container"); } JRestlessHandlerContainer(@Nonnull Application application);  JRestlessHandlerContainer(@Nonnull Application application, @Nullable Binder binder);  JRestlessHandlerContainer(@Nonnull Application application, @Nullable Binder customBinder,
			@Nullable Object parentManager); protected  JRestlessHandlerContainer(@Nonnull ApplicationHandler applicationHandler); void handleRequest(@Nonnull RequestT request, @Nonnull JRestlessResponseWriter responseWriter,
			@Nonnull SecurityContext securityContext); void handleRequest(@Nonnull RequestT request, @Nonnull JRestlessResponseWriter responseWriter,
			@Nonnull SecurityContext securityContext, @Nonnull Consumer<ContainerRequest> containerRequestEnhancer); @Override ResourceConfig getConfiguration(); @Override ApplicationHandler getApplicationHandler(); @Override void reload(); @Override void reload(ResourceConfig configuration); void onStartup(); void onShutdown();  }
@Test public void onShutdown_ShouldShutdownAppHandler() { container.onShutdown(); verify(appHandler, times(1)).onShutdown(container); }