@Test
public void getHiveDestination_CustomInterval() throws Exception {

  hiveDestination.setLandingInterval("PT24H");
  when(hiveDestinationAdminClient.getHiveDestination(NAME)).thenReturn(Optional.of(hiveDestination));
  HiveDestinationModel result = underTest.getHiveDestination(NAME);
  hiveDestinationModel.setLandingInterval("PT24H");
  assertThat(result, is(hiveDestinationModel));
}