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