|
|
@ -130,8 +130,8 @@ public class BeanDefinitionLoaderTests {
|
|
|
|
BeanDefinitionLoader loader = new BeanDefinitionLoader(this.registry,
|
|
|
|
BeanDefinitionLoader loader = new BeanDefinitionLoader(this.registry,
|
|
|
|
MyComponentInPackageWithoutDot.class.getPackage().getName());
|
|
|
|
MyComponentInPackageWithoutDot.class.getPackage().getName());
|
|
|
|
int loaded = loader.load();
|
|
|
|
int loaded = loader.load();
|
|
|
|
assertThat(loaded, equalTo(1));
|
|
|
|
assertThat(loaded).isEqualTo(1);
|
|
|
|
assertTrue(this.registry.containsBean("myComponentInPackageWithoutDot"));
|
|
|
|
assertThat(this.registry.containsBean("myComponentInPackageWithoutDot")).isTrue();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Test
|
|
|
|
@Test
|
|
|
|