public void testUsesGivenKeywordPatternAndExtractsPackagePrefixFromIt() throws Exception { IBeanLoader beanLoaderWithKeywordPattern = createBeanLoaderWithMockBeanDefinitionReader("some/package/*.class"); beanLoaderWithKeywordPattern.loadBeanDefinitions(classFilter); }
public void testLoadsClassesFromApplicationContext() throws Exception { IBeanLoader beanLoader = createBeanLoaderWithMockBeanDefinitionReader("org/**/**.class"); assertSame(keywordBeans, beanLoader.loadBeanDefinitions(classFilter)); }