target.apply("name", formMessage, new RangeIntegerImpl(1, 10));
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), is((Validator<Integer>) new RangeIntegerValidator(1, 10)));
}