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