constraintValue.setValue(Boolean.FALSE);
enumeratedValues.add(constraintValue);
booleanType.setEnumeratedConstraint(enumeratedConstraint);
// check constraint with right value
booleanValue.setValue(Boolean.FALSE);
errors = booleanType.verify(booleanValue);
assertEquals(0, errors.size());
// check constraint violation
booleanValue.setValue(Boolean.TRUE);
errors = booleanType.verify(booleanValue);
assertEquals(1, errors.size());