Commit 9f306339 authored by Phillip Webb's avatar Phillip Webb

Use AssertJ in merged 1.3.x tests

parent e27bc9dd
...@@ -130,8 +130,8 @@ public class BeanDefinitionLoaderTests { ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment