### Question:
EmptyIndexCursor extends AbstractIndexCursor<K> { public void beforeValue( String id, K indexValue ) throws Exception { checkNotClosed(); } 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 testBeforeValue() throws Exception { indexCursor.beforeValue( Partition.DEFAULT_ID, "test" ); }