@Test
public void badRequestMultiple() throws Exception {

  List<SimpleModel> messages = createMessages(3);
  stubFor(post(urlEqualTo("/onramp/v1/roads/" + TEST_ROAD + "/messages"))
      .willReturn(aResponse().withStatus(SC_BAD_REQUEST).withBody(createSingleResponse(0, false, "error"))));
  List<StandardResponse> responses = underTest.sendMessages(messages);
  assertThat(responses.size(), is(3));
  assertThat(responses.get(0).isSuccess(), is(false));
  assertThat(responses.get(0).getMessage(), is("error"));
  assertThat(responses.get(1).isSuccess(), is(false));
  assertThat(responses.get(1).getMessage(), is("error"));
  assertThat(responses.get(2).isSuccess(), is(false));
  assertThat(responses.get(2).getMessage(), is("error"));
}