コード例 #1
0
  public void testUsesGivenKeywordPatternAndExtractsPackagePrefixFromIt() throws Exception {
    IBeanLoader beanLoaderWithKeywordPattern =
        createBeanLoaderWithMockBeanDefinitionReader("some/package/*.class");

    beanLoaderWithKeywordPattern.loadBeanDefinitions(classFilter);
  }
コード例 #2
0
 public void testLoadsClassesFromApplicationContext() throws Exception {
   IBeanLoader beanLoader = createBeanLoaderWithMockBeanDefinitionReader("org/**/**.class");
   assertSame(keywordBeans, beanLoader.loadBeanDefinitions(classFilter));
 }