TomcatAutoConfiguration { @Bean public JsfTomcatApplicationListener jsfTomcatApplicationListener() { return new JsfTomcatApplicationListener(this.customizer.getContext()); }  @Bean JsfTomcatApplicationListener jsfTomcatApplicationListener(); @Bean WebServerFactoryCustomizer<TomcatServletWebServerFactory> jsfTomcatFactoryCustomizer();  }
@Test public void listenerIsNotNull() { JsfTomcatApplicationListener jsfTomcatApplicationListener = this.tomcatAutoConfiguration.jsfTomcatApplicationListener(); assertThat(jsfTomcatApplicationListener) .isNotNull(); }