assertEquals("org.springframework.aop.aspectj.annotation.AnnotationAwareAspectJAutoProxyCreator", aspectjBean.getClassName());
}
@Test
public void testComponentScanningWithProfile() throws Exception {
BeansConfig config = new BeansConfig(beansProject, "profile-component-scanning.xml", IBeansConfig.Type.MANUAL);
IBean simpleBean = BeansModelUtils.getBean("simpleScannedBean", config);
assertEquals("simpleScannedBean", simpleBean.getElementName());
IBean configClassBean = BeansModelUtils.getBean("profileConfigurationClass", config);