assertNotNull(constraint);
}
public void testConstraintFailure(){
Failure failure = new ConstraintFailure("Constraint", //NOI18N
"Element Value", "Element Name", "Failure Message",
"Generic Failure Message"); //NOI18N
assertNotNull(failure);
assertTrue("Failure Message".equals(failure.failureMessage())); //NOI18N
ConstraintFailure constraintFailure = (ConstraintFailure) failure;
assertTrue("Constraint".equals(
constraintFailure.getConstraint())); //NOI18N
assertTrue("Element Value".equals(