@Test
public void testEvaluatorWithoutDescendants() throws Exception
{
AttributeType at = schemaManager.lookupAttributeTypeRegistry( SchemaConstants.C_POSTALCODE_AT_OID );
LessEqNode<String> node = new LessEqNode<String>( at, new StringValue( at, "2" ) );
LessEqEvaluator<String> evaluator = new LessEqEvaluator<String>( node, store, schemaManager );
IndexEntry<String, String> indexEntry = new IndexEntry<String, String>();
assertEquals( node, evaluator.getExpression() );
assertEquals( SchemaConstants.C_POSTALCODE_AT_OID, evaluator.getAttributeType().getOid() );