### Question:
IndexKeyStorage extends SimpleEntryStorage<KEY,IndexKeyStorage.KeyEntryCursor<KEY>> { @Override KeyEntryCursor<KEY> reader( PageCursor pageCursor ) { return new KeyEntryCursor<>( pageCursor, layout ); } IndexKeyStorage( FileSystemAbstraction fs, File file, ByteBufferFactory.Allocator byteBufferFactory, int blockSize, Layout<KEY,?> layout );   }### Answer:
@Test void shouldAddAndReadZeroKey() throws IOException { try ( IndexKeyStorage<GenericKey> keyStorage = keyStorage() ) { keyStorage.doneAdding(); try ( IndexKeyStorage.KeyEntryCursor<GenericKey> reader = keyStorage.reader() ) { assertFalse( reader.next(), "Didn't expect reader to have any entries." ); } } }