public static BadRequestException invalidEnvFormat(String format) {
    return new BadRequestException("invalid env format:%s", format);
  }
@Test
  public void testInvalidEnvFormat() {
    BadRequestException invalidEnvFormat = BadRequestException.invalidEnvFormat("format");
    assertEquals("invalid env format:format", invalidEnvFormat.getMessage());
  }