@BeforeEach
    void setUp() {
        localValidatorFactoryBean = new LocalValidatorFactoryBean();
        localValidatorFactoryBean.afterPropertiesSet();
    }
@author Michael Isvy
        Simple test to make sure that Bean Validation is working
        (useful when upgrading to a new version of Hibernate Validator/ Bean Validation)
src/test/java/org/springframework/samples/petclinic/model/ValidatorTests.java