FieldConstraintDescr fieldConstraintDescr = (FieldConstraintDescr) patternDescr.getDescrs().get( 0 );
assertEquals( "operator",
fieldConstraintDescr.getFieldName() );
assertEquals( 1,
fieldConstraintDescr.getRestriction().getRestrictions().size() );
QualifiedIdentifierRestrictionDescr qualifiedIdentifierRestrictionDescr = (QualifiedIdentifierRestrictionDescr) fieldConstraintDescr.getRestriction().getRestrictions().get( 0 );
assertEquals( "==",
qualifiedIdentifierRestrictionDescr.getEvaluator() );
assertEquals( "Operator.EQUAL",
qualifiedIdentifierRestrictionDescr.getText() );
}