@Test
public void createRoad() throws Exception {

  String roadJson = mapper.writeValueAsString(road);
  mockMvc
      .perform(post(CONTEXT_PATH + "/roads").contentType(APPLICATION_JSON_UTF8).content(roadJson))
      .andExpect(status().isOk())
      .andExpect(content().contentType(APPLICATION_JSON_UTF8))
      .andExpect(content().json("{\"success\":true}"));
  verify(paverService).createRoad(
      new BasicRoadModel(road.getName(), road.getDescription(), road.getTeamName(), road.getContactEmail(),
          road.isEnabled(), road.getPartitionPath(), road.getAuthorisation(), road.getMetadata()));
}