Skip to content

Commit

Permalink
Increase code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
hamza-vd committed Aug 7, 2023
1 parent a5c5151 commit 1a6a71c
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
}

0 comments on commit 1a6a71c

Please sign in to comment.