diff --git a/pom.xml b/pom.xml index d838d859..e5e77eb4 100644 --- a/pom.xml +++ b/pom.xml @@ -36,23 +36,23 @@ 5.10.2 5.10.2 4.11.0 - 3.25.3 - 4.21.0 - 1.21.1 + 3.26.0 + 4.24.0 + 1.21.2 - 3.4.1 + 3.4.2 3.2.4 3.13.0 - 3.6.3 - 3.2.5 + 3.7.0 + 3.3.0 3.3.1 1.26.4 5.1.9 1.2.1.Final - 1.6.13 + 1.7.0 diff --git a/src/test/java/com/cedarsoftware/util/convert/StringConversionsTests.java b/src/test/java/com/cedarsoftware/util/convert/StringConversionsTests.java index 32ebc62c..6aec6c8d 100644 --- a/src/test/java/com/cedarsoftware/util/convert/StringConversionsTests.java +++ b/src/test/java/com/cedarsoftware/util/convert/StringConversionsTests.java @@ -21,6 +21,9 @@ import org.junit.jupiter.params.provider.MethodSource; import static org.assertj.core.api.Assertions.assertThat; +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertNull; +import static org.junit.jupiter.api.Assertions.assertTrue; class StringConversionsTests { @@ -35,8 +38,8 @@ public void beforeEach() { void testClassCompliance() throws Exception { Class c = StringConversions.class; - assertThat(ClassUtilities.isClassFinal(c)).isTrue(); - assertThat(ClassUtilities.areAllConstructorsPrivate(c)).isTrue(); + assertTrue(ClassUtilities.isClassFinal(c)); + assertTrue(ClassUtilities.areAllConstructorsPrivate(c)); } private static Stream toYear_withParseableParams() { @@ -66,7 +69,7 @@ private static Stream toYear_nullReturn() { @MethodSource("toYear_nullReturn") void toYear_withNullableStrings_returnsNull(String source) { Year year = this.converter.convert(source, Year.class); - assertThat(year).isNull(); + assertNull(year); } private static Stream toYear_extremeParams() { @@ -86,7 +89,7 @@ private static Stream toYear_extremeParams() { void toYear_withExtremeParams_returnsValue(String source, int value) { Year expected = Year.of(value); Year actual = this.converter.convert(source, Year.class); - assertThat(actual).isEqualTo(expected); + assertEquals(expected, actual); } private static Stream toCharParams() {