public static BadRequestException create(String... errorMessages) {
    return create(asList(errorMessages));
  }
@Test
  public void text_error() {
    BadRequestException exception = BadRequestException.create("error");
    assertThat(exception.getMessage()).isEqualTo("error");
  }