@Test
public void testIndexedCnStartsWithJim() throws Exception
{
SubstringNode node = new SubstringNode( schemaManager.getAttributeType( "cn" ), "jim", null );
SubstringEvaluator evaluator = new SubstringEvaluator( node, store, schemaManager );
SubstringCursor cursor = new SubstringCursor( store, evaluator );
assertEquals( node, evaluator.getExpression() );
cursor.beforeFirst();
assertTrue( cursor.next() );
assertTrue( cursor.available() );