Use AssertJ in merged 1.3.x tests
This commit is contained in:
@@ -130,8 +130,8 @@ public class BeanDefinitionLoaderTests {
|
||||
BeanDefinitionLoader loader = new BeanDefinitionLoader(this.registry,
|
||||
MyComponentInPackageWithoutDot.class.getPackage().getName());
|
||||
int loaded = loader.load();
|
||||
assertThat(loaded, equalTo(1));
|
||||
assertTrue(this.registry.containsBean("myComponentInPackageWithoutDot"));
|
||||
assertThat(loaded).isEqualTo(1);
|
||||
assertThat(this.registry.containsBean("myComponentInPackageWithoutDot")).isTrue();
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user