AndDescr andConstr1 = (AndDescr) orConstr.getDescrs().get( 0 );
FieldConstraintDescr fcd = (FieldConstraintDescr) andConstr1.getDescrs().get( 0 );
assertEquals( "age",
fcd.getFieldName() );
RestrictionConnectiveDescr or = (RestrictionConnectiveDescr) fcd.getRestriction().getRestrictions().get( 0 );
RestrictionConnectiveDescr and1 = (RestrictionConnectiveDescr) or.getRestrictions().get( 0 );
RestrictionConnectiveDescr and2 = (RestrictionConnectiveDescr) or.getRestrictions().get( 1 );
assertEquals( ">",
((LiteralRestrictionDescr) and1.getRestrictions().get( 0 )).getEvaluator() );
assertEquals( "60",
((LiteralRestrictionDescr) and1.getRestrictions().get( 0 )).getText() );
assertEquals( "<",
((LiteralRestrictionDescr) and1.getRestrictions().get( 1 )).getEvaluator() );
assertEquals( "70",
((LiteralRestrictionDescr) and1.getRestrictions().get( 1 )).getText() );
assertEquals( ">",
((LiteralRestrictionDescr) and2.getRestrictions().get( 0 )).getEvaluator() );
assertEquals( "50",
((LiteralRestrictionDescr) and2.getRestrictions().get( 0 )).getText() );
assertEquals( "<",
((LiteralRestrictionDescr) and2.getRestrictions().get( 1 )).getEvaluator() );
assertEquals( "55",
((LiteralRestrictionDescr) and2.getRestrictions().get( 1 )).getText() );
fcd = (FieldConstraintDescr) andConstr1.getDescrs().get( 1 );
assertEquals( "hair",
fcd.getFieldName() );