@Test public void addCallsSizeTwoTimesTest() { pm.add(new String[] {"testa", "testb"}); verify(trieMock, times(2)).size(); }
@Test public void addTest() { pm.add(new String[] {"testa", "testb"}); verify(trieMock, atLeastOnce()).add(any(Tuple.class)); }