@Test
public void updateHiveDestination() throws Exception {

  when(hiveDestinationAdminClient.getHiveDestination(NAME)).thenReturn(Optional.of(hiveDestination));
  underTest.updateHiveDestination(NAME, hiveDestinationModel);
  verify(hiveDestinationAdminClient).updateHiveDestination(NAME, hiveDestination);
}