@Test
public void put_UnknownRoad() throws Exception {

  doThrow(new UnknownRoadException(NAME)).when(service).updateHiveDestination(NAME, hiveDestinationModel);
  mockMvc
      .perform(put(HIVE_DESTINATION_ENDPOINT).contentType(APPLICATION_JSON_UTF8).content(DESTINATION_JSON))
      .andExpect(status().isNotFound())
      .andExpect(content().contentType(APPLICATION_JSON_UTF8))
      .andExpect(jsonPath("$.timestamp", isA(Long.TYPE)))
      .andExpect(jsonPath("$.success", is(false)))
      .andExpect(jsonPath("$.message", is("Road \"road1\" does not exist.")));
}