@Test
public void testForBooleanInvalidValues() {
TechnicalProperty property = createPropertyWithTypeBoolean();
Constraint constraint = createConstraint(property, "true");
constraint.setOperator(BaseConditionOperators.EQUALS);
assignedConstraintsSet.getAssignedConstraints().add(constraint);
BaseCondition baseCondition = createBaseCondition(property,
BaseConditionOperators.EQUALS, "foo");
precondition.setLogicalConnectiveType(LogicalConnectiveTypes.AND);
precondition.getBaseConditions().add(baseCondition);
constraint.setValue("1");
assertIsInvalid();
constraint.setValue("1.1.2");
assertIsInvalid();
constraint.setValue("foo");
assertIsInvalid();
constraint.setValue(null);
assertIsInvalid();
baseCondition.setValue("1.1.2");
assertIsInvalid();