From 0c1cf7315a8bfff9887583cf78fe66e346ab7f23 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Mon, 20 Jun 2016 20:38:16 +0100 Subject: [PATCH] Fix assertion to use AssertJ --- .../boot/bind/PropertiesConfigurationFactoryTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot/src/test/java/org/springframework/boot/bind/PropertiesConfigurationFactoryTests.java b/spring-boot/src/test/java/org/springframework/boot/bind/PropertiesConfigurationFactoryTests.java index 3ace0fb03a1..d409267ee72 100644 --- a/spring-boot/src/test/java/org/springframework/boot/bind/PropertiesConfigurationFactoryTests.java +++ b/spring-boot/src/test/java/org/springframework/boot/bind/PropertiesConfigurationFactoryTests.java @@ -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 {