Use AssertJ in merged 1.3.x tests

pull/6145/head
Phillip Webb 9 years ago
parent e27bc9ddea
commit 9f30633921

@ -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

Loading…
Cancel
Save