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

     String json = "{\"name\":\"Getu\", \"age\": 9}";
     
     try {
          subject.parse(json , PersonJsonTest.class);
     } catch (BeanValidationException e) {
          List<BeanValidationErrorDTO> errors = subject.parse(e.getViolations(), new TypeReference<List<BeanValidationErrorDTO>>() {});
          assertThat(errors, contains(hasProperty("message", is("You have to be older than 18 to drive in Brasil"))));
          throw e;
     }
}