### Question:
AnnotationConfigApplicationContextBeanFactory { public AnnotationConfigApplicationContext constructContainerWithConfigBean(Class<?>... classes) { return new AnnotationConfigApplicationContext(classes); }  AnnotationConfigApplicationContext simpleConstructContainer(); AnnotationConfigApplicationContext constructContainerWithConfigBean(Class<?>... classes); AnnotationConfigApplicationContext constructContainerWithBasePackage(String basePackage);  }### Answer:
@Test public void testConstructContainerWithConfigBean() throws Exception { AnnotationConfigApplicationContext configApplicationContext = beanFactory.constructContainerWithConfigBean( ComponentAnnotationModel.class, ServiceAnnotationModel.class, ServiceAnnotationModel.class); ServiceAnnotationModel model = configApplicationContext.getBean(ServiceAnnotationModel.class); System.out.println(PrintUtil.formatTestResult(model)); configApplicationContext.destroy(); }