assertTrue(child.containsBean("importedBean1"));
assertFalse(child.containsBean("importedBean2"));
}
public final void testNewBeanDefinitionReader() {
BeansetModuleDefinition definition = new SimpleBeansetModuleDefinition(plugin4);
BeansetApplicationModuleLoader loader = new BeansetApplicationModuleLoader();
XmlBeanDefinitionReader reader = loader.newBeanDefinitionReader("id", new GenericApplicationContext(), definition);
int definitions = reader.loadBeanDefinitions(new ClassPathResource("parentTestContext.xml"));
assertTrue(definitions > 0);