@Test public void testIpaLeave() throws CloudbreakException, CloudbreakOrchestratorFailedException { when(kerberosConfigService.get(anyString(), anyString())).thenReturn(Optional.of(kerberosConfig)); when(kerberosDetailService.isIpaJoinable(any())).thenReturn(Boolean.TRUE); underTest.leaveDomains(stack); verify(hostOrchestrator, times(1)) .leaveDomain(any(GatewayConfig.class), any(), eq("ipa_member"), eq("ipa_leave"), any(ExitCriteriaModel.class)); }
public void leaveDomains(Stack stack) throws CloudbreakException { leaveDomains(stack, stackUtil.collectReachableNodes(stack)); }
ClusterKerberosService { public void leaveDomains(Stack stack) throws CloudbreakException { leaveDomains(stack, stackUtil.collectReachableNodes(stack)); } }
ClusterKerberosService { public void leaveDomains(Stack stack) throws CloudbreakException { leaveDomains(stack, stackUtil.collectReachableNodes(stack)); }  }
ClusterKerberosService { public void leaveDomains(Stack stack) throws CloudbreakException { leaveDomains(stack, stackUtil.collectReachableNodes(stack)); }  void leaveDomains(Stack stack); void leaveDomains(Stack stack, Set<Node> nodes); }
ClusterKerberosService { public void leaveDomains(Stack stack) throws CloudbreakException { leaveDomains(stack, stackUtil.collectReachableNodes(stack)); }  void leaveDomains(Stack stack); void leaveDomains(Stack stack, Set<Node> nodes);  }