use of org.hibernate.validator.internal.constraintvalidators.bv.NotNullValidator in project hibernate-validator by hibernate.
the class NotNullValidatorTest method testIsValid.
@Test
public void testIsValid() {
NotNullValidator constraint = new NotNullValidator();
assertFalse(constraint.isValid(null, null));
assertTrue(constraint.isValid(new Object(), null));
}
Aggregations