CandlepinContextListener extends GuiceResteasyBootstrapServletContextListener { @Override protected Stage getStage(ServletContext context) { return Stage.PRODUCTION; }  @Override void contextInitialized(ServletContextEvent sce); @Override void withInjector(Injector injector); @Override void contextDestroyed(ServletContextEvent event); static final String CONFIGURATION_NAME; }
@Test public void exitStageLeft() { assertEquals(Stage.PRODUCTION, listener.getStage(ctx)); }