test_class.file: micro-swagger/src/test/java/com/oath/micro/server/rest/swagger/SwaggerInitializerTest.java
test_class.identifier: SwaggerInitializerTest
test_case.body: @Test
  	public void testContextInitialized() {
  		SwaggerInitializer initializer = new SwaggerInitializer(ServerData.builder().resources(LinkedListX.of(new ServletStatusResource())).build());
  		ServerData serverData = new ServerData(8080,  ImmutableList.of(new ServletStatusResource()), null, "url", () -> "context");
  	
  		initializer.contextInitialized(null);
  	}
test_case.class_method_signature: SwaggerInitializerTest.testContextInitialized()
test_case.full_signature: @Test public void testContextInitialized()
test_case.identifier: testContextInitialized
test_case.invocations: build resources builder of of contextInitialized
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testContextInitialized()
focal_class.declarator: resourceClasses
focal_class.modifier: private final
focal_class.original_string: private final List<Class<?>> resourceClasses;
focal_class.type: List<Class<?>>
focal_class.var_name: resourceClasses
focal_class.declarator: baseUrlPattern
focal_class.modifier: private final
focal_class.original_string: private final String baseUrlPattern;
focal_class.type: String
focal_class.var_name: baseUrlPattern
focal_class.file: micro-swagger/src/main/java/com/oath/micro/server/rest/swagger/SwaggerInitializer.java
focal_class.identifier: SwaggerInitializer
focal_class.interfaces: implements ServletContextListener
focal_class.class_method_signature: SwaggerInitializer.SwaggerInitializer(ServerData serverData)
focal_class.full_signature: public  SwaggerInitializer(ServerData serverData)
focal_class.identifier: SwaggerInitializer
focal_class.modifiers: public
focal_class.parameters: (ServerData serverData)
focal_class.signature:  SwaggerInitializer(ServerData serverData)
focal_class.class_method_signature: SwaggerInitializer.contextInitialized(ServletContextEvent servletContextEvent)
focal_class.full_signature: public void contextInitialized(ServletContextEvent servletContextEvent)
focal_class.identifier: contextInitialized
focal_class.modifiers: public
focal_class.parameters: (ServletContextEvent servletContextEvent)
focal_class.return: void
focal_class.signature: void contextInitialized(ServletContextEvent servletContextEvent)
focal_class.class_method_signature: SwaggerInitializer.contextDestroyed(ServletContextEvent servletContextEvent)
focal_class.full_signature: public void contextDestroyed(ServletContextEvent servletContextEvent)
focal_class.identifier: contextDestroyed
focal_class.modifiers: public
focal_class.parameters: (ServletContextEvent servletContextEvent)
focal_class.return: void
focal_class.signature: void contextDestroyed(ServletContextEvent servletContextEvent)
focal_method.body: public void contextInitialized(ServletContextEvent servletContextEvent) {
  		BeanConfig beanConfig = new BeanConfig() {
  			@Override
  			public List<Class<?>> classesFromContext(Application app, ServletConfig sc) {
  				return resourceClasses;
  			}
  		};
  		beanConfig.setVersion("1.0.2");
  		beanConfig.setBasePath(baseUrlPattern);
  		beanConfig.setDescription("RESTful resources");
  		beanConfig.setTitle("RESTful API");
  		beanConfig.setScan(true);
  	}
focal_method.class_method_signature: SwaggerInitializer.contextInitialized(ServletContextEvent servletContextEvent)
focal_method.full_signature: public void contextInitialized(ServletContextEvent servletContextEvent)
focal_method.identifier: contextInitialized
focal_method.invocations: setVersion setBasePath setDescription setTitle setScan
focal_method.modifiers: public
focal_method.parameters: (ServletContextEvent servletContextEvent)
focal_method.return: void
focal_method.signature: void contextInitialized(ServletContextEvent servletContextEvent)