assertThat(target.validators.get(0), is((Validator<Float>) new RangeFloatValidator(1, 10)));
}
@Test
public void apply_RangeFloat_messageKey() throws Exception {
target.apply("name", formMessage, new RangeFloatImpl(0f, 100f, "custom_message"));
assertThat(target.name, is("name"));
assertThat(target.label, is("name"));
assertThat(target.isRequired(), is(false));
assertThat(target.validators.size(), is(1));
assertThat(target.validators.get(0),