void () { IntIterator iterator = TrigramBuilder.getTrigrams("Str").intIterator(); assertTrue(iterator.hasNext()); assertTrue(iterator.hasNext()); assertTrue(iterator.hasNext()); assertEquals(7566450, iterator.nextInt()); assertFalse(iterator.hasNext()); assertFalse(iterator.hasNext()); try { iterator.nextInt(); fail(); } catch (NoSuchElementException ignored) { } }