From e779d52dd258036eeb0b775ace7a3669dbc3983c Mon Sep 17 00:00:00 2001 From: Allan O Date: Tue, 15 Sep 2020 18:25:14 +0300 Subject: [PATCH] :white_check_mark: Remove static imports --- .../java/com/vijay/jsonwizard/utils/UtilsTest.java | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/android-json-form-wizard/src/test/java/com/vijay/jsonwizard/utils/UtilsTest.java b/android-json-form-wizard/src/test/java/com/vijay/jsonwizard/utils/UtilsTest.java index 6a7ac37e7..4d46b8df5 100644 --- a/android-json-form-wizard/src/test/java/com/vijay/jsonwizard/utils/UtilsTest.java +++ b/android-json-form-wizard/src/test/java/com/vijay/jsonwizard/utils/UtilsTest.java @@ -46,9 +46,6 @@ import static com.vijay.jsonwizard.utils.Utils.formatDateToPattern; import static com.vijay.jsonwizard.utils.Utils.isEmptyJsonArray; -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertFalse; -import static org.junit.Assert.assertTrue; public class UtilsTest extends BaseTest { @@ -373,15 +370,15 @@ public void testFormatDateToPattern() { String inputFormat = "dd/MM/yyyy"; String outputFormat = "dd MMM yyyy"; String formattedDate = formatDateToPattern(date, inputFormat, outputFormat); - assertEquals("05 May 2022", formattedDate); + Assert.assertEquals("05 May 2022", formattedDate); } @Test public void testIsEmptyJsonArrayShouldReturnCorrectStatus() { - assertTrue(isEmptyJsonArray(null)); + Assert.assertTrue(isEmptyJsonArray(null)); JSONArray jsonArray = new JSONArray(); - assertTrue(isEmptyJsonArray(jsonArray)); + Assert.assertTrue(isEmptyJsonArray(jsonArray)); jsonArray.put("value"); - assertFalse(isEmptyJsonArray(jsonArray)); + Assert.assertFalse(isEmptyJsonArray(jsonArray)); } } \ No newline at end of file