@Test
public void testRangeValid() {

  final UserPreference up = new UserPreference("id", "1", NAME, 1);
  this.validator = new PreferenceValidator(up);
  try {
    this.validator.validate(this.range);
  } catch (final PreferenceValidationException e) {
    e.printStackTrace();
    fail(ERROR);
  }
}