public static BadRequestException create(String... errorMessages) {
    return create(asList(errorMessages));
  }
@Test
  public void getMessage_return_first_error() {
    BadRequestException underTest = BadRequestException.create(asList("error1", "error2"));

    assertThat(underTest.getMessage()).isEqualTo("error1");
  }