assertThat(target.validators.get(0), is((Validator<String>) new RegexValidator(".*\\.html", "custom_key")));
}
@Test
public void apply_UriUsable() throws Exception {
target.apply("name", formMessage, new UriUsableImpl());
assertThat(target.name, is("name"));
assertThat(target.label, is("name"));
assertThat(target.validators.size(), is(1));
assertThat(target.validators.get(0), is((Validator<String>) new UriUsableValidator()));
}