SingletonPrimitiveIteratorOfInt implements PrimitiveIterator.OfInt { @Override public boolean hasNext() { return hasNext; } SingletonPrimitiveIteratorOfInt(int e); @Override boolean hasNext(); @Override int nextInt(); @Override Integer next(); @Override void remove(); @Override void forEachRemaining(IntConsumer action);  }
@Test void hasNext() { assertTrue(instance.hasNext()); }