@Override
  public void validate(String value, @Nullable List<String> options) {
    checkRequest(options == null || options.contains(value), "Value '%s' must be one of : %s.", value, StringUtils.join(options, ", "));
  }
@Test
  public void not_fail_on_valid_option() {
    validation.validate("a", newArrayList("a", "b", "c"));
    validation.validate("a", null);
  }