### Question:
BatchSpliterator implements Spliterator<T> { @Override public long estimateSize() { return Long.MAX_VALUE; } BatchSpliterator(Spliterator<T> spliterator, int batchSize); @Override boolean tryAdvance(Consumer<? super T> action); @Override Spliterator<T> trySplit(); @Override long estimateSize(); @Override int characteristics();  }### Answer:
@Test public void estimateSize() { assertEquals(spliterator.estimateSize(), Long.MAX_VALUE); }