@Test
public void delete_UnknownDestination() throws Exception {

  doThrow(new UnknownDestinationException("Hive", NAME)).when(service).deleteHiveDestination(NAME);
  mockMvc
      .perform(delete(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("Hive destination for Road \"road1\" does not exist.")));
}