### Question:
EmptyIndexCursor extends AbstractIndexCursor<K> { public IndexEntry<K, String> get() throws CursorException { checkNotClosed(); throw new InvalidCursorPositionException( I18n.err( I18n.ERR_703 ) ); } 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(expected = InvalidCursorPositionException.class) public void testGet() throws Exception { indexCursor.get(); }