### Question:
SimpleIndexReader extends AbstractIndexReader { @Override public void close() { try { partitionSearcher.close(); } catch ( IOException e ) { throw new IndexReaderCloseException( e ); } } SimpleIndexReader( PartitionSearcher partitionSearcher,
            IndexDescriptor descriptor,
            IndexSamplingConfig samplingConfig,
            TaskCoordinator taskCoordinator ); @Override IndexSampler createSampler(); @Override void query( IndexProgressor.NodeValueClient client, IndexOrder indexOrder, boolean needsValues, IndexQuery... predicates ); @Override PrimitiveLongResourceIterator query( IndexQuery... predicates ); @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 void close();  }### Answer:
@Test void releaseSearcherOnClose() throws IOException { IndexReader simpleIndexReader = getUniqueSimpleReader(); simpleIndexReader.close(); verify( partitionSearcher ).close(); }