@Test
public void checkUpperSnakeCaseShouldThrowIllegalArgumentExceptionWithFieldForInvalidString() {

  exception.expect(IllegalArgumentException.class);
  exception.expectMessage(
      Strings.lenientFormat(
          "invalid value for %s resource, %s: %s",
          "featureset",
          "redis",
          "argument must be in upper snake case, and cannot include any special characters."));
  String in = "redis";
  checkUpperSnakeCase(in, "featureset");
}