@Test(expected = ConstraintViolationException.class)
public void testEqualConstraintFailNullProperty() throws ConstraintViolationException {

    EqualConstraint constraint = new EqualConstraint();
    constraint.setEqual(null);
    constraint.validate("value");
}