@Test
public void checkLowerSnakeCaseShouldThrowIllegalArgumentExceptionWithFieldForInvalidString() {

  exception.expect(IllegalArgumentException.class);
  exception.expectMessage(
      Strings.lenientFormat(
          "invalid value for %s resource, %s: %s",
          "feature",
          "Invalid_feature name",
          "argument must be in lower snake case, and cannot include any special characters."));
  String in = "Invalid_feature name";
  checkLowerSnakeCase(in, "feature");
}