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