Constraint constraint = createConstraint(property, "true");
constraint.setOperator(BaseConditionOperators.EQUALS);
assignedConstraintsSet.getAssignedConstraints().add(constraint);
BaseCondition baseCondition = createBaseCondition(property,
BaseConditionOperators.MATCHES, "true");
precondition.setLogicalConnectiveType(LogicalConnectiveTypes.AND);
precondition.getBaseConditions().add(baseCondition);
baseCondition.setOperator(BaseConditionOperators.MATCHES);
assertIsInvalid();
baseCondition.setOperator(BaseConditionOperators.GREATER_THAN);
assertIsInvalid();
baseCondition.setOperator(BaseConditionOperators.LESS_THAN);
assertIsInvalid();
baseCondition.setOperator(BaseConditionOperators.MAXIMAL);
assertIsInvalid();
baseCondition.setOperator(BaseConditionOperators.MINIMAL);
assertIsInvalid();
baseCondition.setOperator(BaseConditionOperators.EQUALS_IGNORE_CASE);
assertIsInvalid();
baseCondition.setOperator(BaseConditionOperators.APPROXIMATELY_EQUALS);
assertIsInvalid();
}