### Question:
EmptyIndexCursor extends AbstractIndexCursor<K> { @Override public void close() throws IOException { if ( IS_DEBUG ) { LOG_CURSOR.debug( "Closing EmptyIndexCursor {}", this ); } super.close(); } EmptyIndexCursor( PartitionTxn partitionTxn ); @Override void before( IndexEntry<K, String> element ); @Override void after( IndexEntry<K, String> element ); void beforeFirst(); void afterLast(); boolean first(); boolean last(); @Override boolean previous(); @Override boolean next(); IndexEntry<K, String> get(); void afterValue( String id, K indexValue ); void beforeValue( String id, K indexValue ); @Override void close(); @Override void close( Exception cause );  }### Answer:
@Test public void testConstructor() throws Exception { EmptyIndexCursor<String> cursor = new EmptyIndexCursor<String>( new MockPartitionReadTxn() ); cursor.close(); }
@Test public void testClose() throws Exception { indexCursor.close(); }