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..c8cccdb54 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,10 @@ public void testGetViewKey() throws Exception { assertEquals(key + ":" + childKey, returnKey); } -} + + @Test + public void testGetCOuntSHouldReturnTheCorrectCount() { + activity = Mockito.spy(activity); + assertEquals("1", activity.getCount()); + } +} \ No newline at end of file