@Test
public void getRoad_RoadDoesNotExist() throws Exception {

  doThrow(new UnknownRoadException("road1")).when(paverService).getRoad(NAME);
  mockMvc
      .perform(get(CONTEXT_PATH + "/roads/road1"))
      .andExpect(status().isNotFound())
      .andExpect(content().contentType(APPLICATION_JSON_UTF8))
      .andExpect(jsonPath("$.message", is("Road \"road1\" does not exist.")));
}