### Question:
ScanReadResult extends AbstractReadResult<T> { @Override protected Spliterator<T> spliterator() { if (iterationStarted) { throw new IllegalStateException("ScanReadResult can only be iterated once."); } iterationStarted = true; return new ScanReadResultSpliterator(); } protected  ScanReadResult(AmazonDynamoDB amazonDynamoDb, ScanRequest scanRequest, ScanResult scanResult);   }### Answer:
@Test void spliterator_characteristics_nonNull() { Spliterator<Item> spliterator = build(initialRequest(), result(null)).spliterator(); assertThat(spliterator.characteristics()).isEqualTo(Spliterator.NONNULL); }
@Test void spliterator_trySplit_returnsNull() { Spliterator<Item> spliterator = build(initialRequest(), result(null)).spliterator().trySplit(); assertThat(spliterator).isNull(); }
@Test void spliterator_estimateSize_returnsMaxLong() { long size = build(initialRequest(), result(null)).spliterator().estimateSize(); assertThat(size).isEqualTo(Long.MAX_VALUE); }