diff --git a/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/context/properties/bind/ValueObjectBinderTests.java b/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/context/properties/bind/ValueObjectBinderTests.java index 2eb46837a0..ef4c67b42e 100644 --- a/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/context/properties/bind/ValueObjectBinderTests.java +++ b/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/context/properties/bind/ValueObjectBinderTests.java @@ -21,13 +21,13 @@ import java.util.ArrayList; import java.util.List; import java.util.Objects; -import com.atomikos.util.Assert; import org.junit.jupiter.api.Test; import org.springframework.boot.context.properties.source.ConfigurationPropertyName; import org.springframework.boot.context.properties.source.ConfigurationPropertySource; import org.springframework.boot.context.properties.source.MockConfigurationPropertySource; import org.springframework.format.annotation.DateTimeFormat; +import org.springframework.util.Assert; import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThatExceptionOfType; @@ -436,7 +436,7 @@ class ValueObjectBinderTests { private final String bar; ValidatingConstructorBean(String foo, String bar) { - Assert.notNull("Foo must not be null", foo); + Assert.notNull(foo, "Foo must not be null"); this.foo = foo; this.bar = bar; }