@Test public void undeployTest() throws DeploymentException { domainDeployer.undeploy(); verify(deployerMock, times(1)).verifyMuleIsStarted(); verify(deployerMock, times(1)).undeployDomain(); verify(deployerMock, times(0)).waitForDeployments(); verify(deployerMock, times(0)).deployDomain(); verify(deployerMock, times(0)).deployApplication(); verify(deployerMock, times(0)).addDomainFromstandaloneDeployment(any()); verify(deployerMock, times(0)).undeployApplication(); }
@Override public void undeploy() throws DeploymentException { standaloneArtifactDeployer.verifyMuleIsStarted(); standaloneArtifactDeployer.undeployDomain(); }
StandaloneDomainDeployer implements Deployer { @Override public void undeploy() throws DeploymentException { standaloneArtifactDeployer.verifyMuleIsStarted(); standaloneArtifactDeployer.undeployDomain(); } }
StandaloneDomainDeployer implements Deployer { @Override public void undeploy() throws DeploymentException { standaloneArtifactDeployer.verifyMuleIsStarted(); standaloneArtifactDeployer.undeployDomain(); } StandaloneDomainDeployer(Deployment deployment, DeployerLog log); protected  StandaloneDomainDeployer(StandaloneArtifactDeployer deployer); }
StandaloneDomainDeployer implements Deployer { @Override public void undeploy() throws DeploymentException { standaloneArtifactDeployer.verifyMuleIsStarted(); standaloneArtifactDeployer.undeployDomain(); } StandaloneDomainDeployer(Deployment deployment, DeployerLog log); protected  StandaloneDomainDeployer(StandaloneArtifactDeployer deployer); @Override void deploy(); @Override void undeploy(); }
StandaloneDomainDeployer implements Deployer { @Override public void undeploy() throws DeploymentException { standaloneArtifactDeployer.verifyMuleIsStarted(); standaloneArtifactDeployer.undeployDomain(); } StandaloneDomainDeployer(Deployment deployment, DeployerLog log); protected  StandaloneDomainDeployer(StandaloneArtifactDeployer deployer); @Override void deploy(); @Override void undeploy();  }