@Test
void validateMinAnnotation() {

    assertThatThrownBy(() -> new BeanValidatorBuilder(BeanWithInvalidMinAnnotation.class).build())
            .isInstanceOf(Error.class)
            .hasMessageContaining("@Min must on Number");
}