@TestForIssue(jiraKey = "HV-920")
public void url_validator_using_regexp_only_can_be_configured_via_xml() {
Configuration config = ValidatorUtil.getConfiguration();
InputStream mappingStream = URLValidatorTest.class.getResourceAsStream( "mapping.xml" );
config.addMapping( mappingStream );
DelegatingConstraintValidatorFactory constraintValidatorFactory = new DelegatingConstraintValidatorFactory(
config.getDefaultConstraintValidatorFactory()
);
config.constraintValidatorFactory( constraintValidatorFactory );