public void testScopedVariablesWithCompositeFact() {
RuleModel m = new RuleModel();
FactPattern p = new FactPattern();
CompositeFieldConstraint cf = new CompositeFieldConstraint();
cf.addConstraint( new SingleFieldConstraint("x") );
p.addConstraint( cf );
SingleFieldConstraint sf = new SingleFieldConstraint("q");
sf.fieldBinding = "abc";
p.addConstraint( sf );
SingleFieldConstraint sf2 = new SingleFieldConstraint("q");