@Test
public void createRoad_RoadAlreadyExists() throws Exception {

  doThrow(AlreadyExistsException.class).when(paverService).createRoad(any(BasicRoadModel.class));
  String roadJson = mapper.writeValueAsString(road);
  mockMvc
      .perform(post(CONTEXT_PATH + "/roads").contentType(APPLICATION_JSON_UTF8).content(roadJson))
      .andExpect(status().isConflict())
      .andExpect(content().contentType(APPLICATION_JSON_UTF8))
      .andExpect(jsonPath("$.message", is("Road already exists.")));
}