@Test public void wordsWithPrefixAndKTest() { pm.wordsWithPrefix("test", 4).iterator(); verify(trieMock, times(1)).wordsWithPrefix("test"); }