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