### Question:
SingletonIndexCursor extends AbstractIndexCursor<V> { @Override public void close() throws IOException { if ( IS_DEBUG ) { LOG_CURSOR.debug( "Closing SingletonIndexCursor {}", this ); } super.close(); } SingletonIndexCursor( PartitionTxn partitionTxn, IndexEntry<V, String> singleton ); @Override boolean available(); @Override void beforeFirst(); @Override void afterLast(); @Override boolean first(); @Override boolean last(); @Override boolean isFirst(); @Override boolean isLast(); @Override boolean isAfterLast(); @Override boolean isBeforeFirst(); @Override boolean previous(); @Override boolean next(); IndexEntry<V, String> get(); @Override void close(); @Override void close( Exception cause );  }### Answer:
@Test public void testConstructor() throws Exception { Cursor<IndexEntry<String, String>> cursor = new SingletonIndexCursor<String>( new MockPartitionReadTxn(), indexEntry ); cursor.close(); }