assertEquals( "total", factPattern.getBoundName() );
assertNotNull( factPattern.getConstraintList() );
assertEquals( 1, factPattern.getConstraintList().getNumberOfConstraints() );
FieldConstraint constraint = factPattern.getConstraintList().getConstraint( 0 );
assertTrue( constraint instanceof SingleFieldConstraint );
SingleFieldConstraint fieldConstraint = (SingleFieldConstraint) constraint;
assertEquals( "Number", fieldConstraint.getFactType() );
assertEquals( "intValue", fieldConstraint.getFieldName() );
assertEquals( "Integer", fieldConstraint.getFieldType() );
assertEquals( ">", fieldConstraint.getOperator() );
assertEquals( "0", fieldConstraint.getValue() );
}