@Test(expected = BeanValidationException.class)
public void notBlankAnnotationShouldWork() {

     String json = "{\"name\":\"\"}";
     
     try {
          subject.parse(json , PersonJsonTest.class);
     } catch (BeanValidationException e) {
          List<BeanValidationErrorDTO> errors = subject.parse(e.getViolations(), new TypeReference<List<BeanValidationErrorDTO>>() {});
          assertThat(errors, contains(hasProperty("attribute", is("name"))));
          throw e;
     }
}