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