);
}
private Validator configure(String mappingsUrl) {
Configuration<?> configuration = ValidatorUtil.getConfiguration();
configuration.traversableResolver( new DummyTraversableResolver() );
configuration.addMapping( InheritanceMappingsTest.class.getResourceAsStream( mappingsUrl ) );
ValidatorFactory validatorFactory = configuration.buildValidatorFactory();
return validatorFactory.getValidator();
}