target.apply("html", formMessage, new RegexImpl1(".*\\.html", "custom_key"));
assertThat(target.name, is("html"));
assertThat(target.label, is("html"));
assertThat(target.isRequired(), is(false));
assertThat(target.validators.size(), is(1));
assertThat(target.validators.get(0), is((Validator<String>) new RegexValidator(".*\\.html", "custom_key")));
}