### Question:
Application extends SpringBootServletInitializer { @Override protected SpringApplicationBuilder configure(final SpringApplicationBuilder builder) { return builder.sources(Application.class); }  static void main(final String[] args); @Bean CommandLineRunner commandLineRunner(final AppService appService); @Bean BCryptPasswordEncoder bCryptPasswordEncoder(); @Bean ErrorPageRegistrar errorPageRegistrar();  }### Answer:
@Test public void configureTest() { Application app = new Application(); assertNotNull(app.configure(new SpringApplicationBuilder(Application.class))); }