SingletonPrimitiveSpliteratorOfInt implements Spliterator.OfInt { @Override public long estimateSize() { return estimatedSize; } SingletonPrimitiveSpliteratorOfInt(int element); @Override OfInt trySplit(); @Override boolean tryAdvance(IntConsumer consumer); @Override void forEachRemaining(IntConsumer consumer); @Override long estimateSize(); @Override int characteristics();  }
@Test void estimateSize() { assertEquals(1L, instance.estimateSize()); }