@Test public void undeployApplicationTest() throws DeploymentException { armArtifactDeployerSpy.undeployApplication(); verify(clientMock).undeployApplication(metadataMock); verify(clientMock, never()).deployApplication(metadataMock); verify(clientMock, never()).redeployApplication(FAKE_APPLICATION_ID, metadataMock); }
@Override public void undeployApplication() throws DeploymentException { client.undeployApplication(getApplicationMetadata()); }
ArmArtifactDeployer implements ArtifactDeployer { @Override public void undeployApplication() throws DeploymentException { client.undeployApplication(getApplicationMetadata()); } }
ArmArtifactDeployer implements ArtifactDeployer { @Override public void undeployApplication() throws DeploymentException { client.undeployApplication(getApplicationMetadata()); } ArmArtifactDeployer(Deployment deployment, DeployerLog log); protected  ArmArtifactDeployer(Deployment deployment, ArmClient client, DeployerLog log); }
ArmArtifactDeployer implements ArtifactDeployer { @Override public void undeployApplication() throws DeploymentException { client.undeployApplication(getApplicationMetadata()); } ArmArtifactDeployer(Deployment deployment, DeployerLog log); protected  ArmArtifactDeployer(Deployment deployment, ArmClient client, DeployerLog log); ApplicationMetadata getApplicationMetadata(); boolean isFailIfNotExists(); @Override void deployDomain(); @Override void undeployDomain(); @Override void deployApplication(); @Override void undeployApplication(); void redeployApplication(); Integer getApplicationId(); DeploymentVerification getDeploymentVerification(); }
ArmArtifactDeployer implements ArtifactDeployer { @Override public void undeployApplication() throws DeploymentException { client.undeployApplication(getApplicationMetadata()); } ArmArtifactDeployer(Deployment deployment, DeployerLog log); protected  ArmArtifactDeployer(Deployment deployment, ArmClient client, DeployerLog log); ApplicationMetadata getApplicationMetadata(); boolean isFailIfNotExists(); @Override void deployDomain(); @Override void undeployDomain(); @Override void deployApplication(); @Override void undeployApplication(); void redeployApplication(); Integer getApplicationId(); DeploymentVerification getDeploymentVerification();  }