### Question:
PartitionedIndexReader extends AbstractIndexReader { @Override public void close() { try { IOUtils.closeAll( indexReaders ); } catch ( IOException e ) { throw new IndexReaderCloseException( e ); } } PartitionedIndexReader( List<PartitionSearcher> partitionSearchers,
            IndexDescriptor descriptor,
            IndexSamplingConfig samplingConfig,
            TaskCoordinator taskCoordinator );   PartitionedIndexReader( IndexDescriptor descriptor, List<SimpleIndexReader> readers ); @Override PrimitiveLongResourceIterator query( IndexQuery... predicates ); @Override void query( IndexProgressor.NodeValueClient client, IndexOrder indexOrder, boolean needsValues, IndexQuery... query ); @Override boolean hasFullValuePrecision( IndexQuery... predicates ); @Override void distinctValues( IndexProgressor.NodeValueClient client, NodePropertyAccessor propertyAccessor, boolean needsValues ); @Override long countIndexedNodes( long nodeId, int[] propertyKeyIds, Value... propertyValues ); @Override IndexSampler createSampler(); @Override void close();  }### Answer:
@Test public void partitionedReaderCloseAllSearchers() throws IOException { PartitionedIndexReader partitionedIndexReader = createPartitionedReader(); partitionedIndexReader.close(); verify( partitionSearcher1 ).close(); verify( partitionSearcher2 ).close(); verify( partitionSearcher3 ).close(); }