@Test
public void badRequest() throws Exception {

  stubFor(post(urlEqualTo("/onramp/v1/roads/" + TEST_ROAD + "/messages"))
      .willReturn(aResponse().withStatus(SC_BAD_REQUEST).withBody(createSingleResponse(0, false, "error"))));
  SimpleModel messageModel = new SimpleModel();
  messageModel.setId(1L);
  messageModel.setStr("test message");
  StandardResponse response = underTest.sendMessage(messageModel);
  assertThat(response.isSuccess(), is(false));
  assertThat(response.getMessage(), is("error"));
}