From c799ee13eec511a4b14010f486c3176c0fe0a728 Mon Sep 17 00:00:00 2001 From: Hamza Ahmed Khan Date: Mon, 7 Aug 2023 12:19:51 +0500 Subject: [PATCH] Increase code coverage --- .../vijay/jsonwizard/activities/JsonFormActivityTest.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/android-json-form-wizard/src/test/java/com/vijay/jsonwizard/activities/JsonFormActivityTest.java b/android-json-form-wizard/src/test/java/com/vijay/jsonwizard/activities/JsonFormActivityTest.java index 43bebf226..5ee03b393 100644 --- a/android-json-form-wizard/src/test/java/com/vijay/jsonwizard/activities/JsonFormActivityTest.java +++ b/android-json-form-wizard/src/test/java/com/vijay/jsonwizard/activities/JsonFormActivityTest.java @@ -618,4 +618,9 @@ public void testGetViewKey() throws Exception { assertEquals(key + ":" + childKey, returnKey); } -} + + @Test + public void testGetCOuntSHouldReturnTheCorrectCount() { + assertEquals("1", activity.getCount()); + } +} \ No newline at end of file