final AndDescr and = (AndDescr) eventE.getConstraint();
FieldConstraintDescr fcdE = (FieldConstraintDescr) and.getDescrs().get( 0 );
assertEquals( 1,
fcdE.getRestrictions().size() );
final RestrictionConnectiveDescr orrestr = (RestrictionConnectiveDescr) fcdE.getRestrictions().get( 0 );
assertEquals( RestrictionConnectiveDescr.OR,
orrestr.getConnective() );
assertEquals( 2,
orrestr.getRestrictions().size() );
assertTrue( orrestr.getRestrictions().get( 0 ) instanceof VariableRestrictionDescr );
VariableRestrictionDescr re = (VariableRestrictionDescr) orrestr.getRestrictions().get( 0 );
assertEquals( "before",
re.getEvaluator() );
assertEquals( "$b",
re.getText() );
assertEquals( "1, 10",
re.getParameterText() );
assertTrue( re.isNegated() );
re = (VariableRestrictionDescr) orrestr.getRestrictions().get( 1 );
assertEquals( "after",
re.getEvaluator() );
assertEquals( "$c",
re.getText() );
assertEquals( "1, 10",