ConstraintValidatorsUtils { static boolean isEmpty(String value) { return value == null || value.isEmpty(); } private  ConstraintValidatorsUtils();   }
@Test public void testIsEmptyValueNull() throws Exception { boolean b = ConstraintValidatorsUtils.isEmpty(null); assertThat(b, is(true)); }
@Test public void testIsEmptyValueBlank() throws Exception { boolean b = ConstraintValidatorsUtils.isEmpty(""); assertThat(b, is(true)); }
@Test public void testIsEmptyValueNotNull() throws Exception { boolean b = ConstraintValidatorsUtils.isEmpty("test"); assertThat(b, is(false)); }