ChunkingSpliterator implements Spliterator<String> { @Override public Spliterator<String> trySplit() { return null; } ChunkingSpliterator(final String string, final int minChunkSize, final int maxChunkSize); @Override boolean tryAdvance(final Consumer<? super String> action); @Override Spliterator<String> trySplit(); @Override long estimateSize(); @Override int characteristics();  }
@Test void shouldNotSupportPartitions() { assertThat(new ChunkingSpliterator("", 1, 1).trySplit(), is(nullValue())); }