@Test
public void get_Ok() throws Exception {

  hiveDestinationModel.setLandingInterval("PT1H");
  when(service.getHiveDestination(NAME)).thenReturn(hiveDestinationModel);
  mockMvc
      .perform(get(HIVE_DESTINATION_ENDPOINT))
      .andExpect(status().isOk())
      .andExpect(content().contentType(APPLICATION_JSON_UTF8))
      .andExpect(jsonPath("$.enabled", is(false)))
      .andExpect(jsonPath("$.landingInterval", is("PT1H")));
}