### Question:
LuceneAllDocumentsReader implements BoundedIterable<Document> { @Override public void close() throws IOException { IOUtils.closeAll( partitionReaders ); } LuceneAllDocumentsReader( List<LucenePartitionAllDocumentsReader> partitionReaders ); @Override long maxCount(); @Override Iterator<Document> iterator(); @Override void close();  }### Answer:
@Test void closeCorrespondingSearcherOnClose() throws IOException { LuceneAllDocumentsReader allDocumentsReader = createAllDocumentsReader(); allDocumentsReader.close(); verify( partitionSearcher1 ).close(); verify( partitionSearcher2 ).close(); }