Fix assertion to use AssertJ

This commit is contained in:
Andy Wilkinson 2016-06-20 20:38:16 +01:00
parent 0b2f912ca2
commit 0c1cf7315a
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@ public class PropertiesConfigurationFactoryTests {
@Test
public void propertyWithAllUpperCaseSuffixCanBeBound() throws Exception {
Foo foo = createFoo("foo-bar-u-r-i:baz");
assertEquals("baz", foo.fooBarURI);
assertThat(foo.fooBarURI).isEqualTo("baz");
}
private Foo createFoo(final String values) throws Exception {