ArmArtifactDeployer implements ArtifactDeployer { @Override public void deployApplication() throws DeploymentException { client.deployApplication(getApplicationMetadata()); if (!deployment.getSkipDeploymentVerification()) { checkApplicationHasStarted(); } } 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();  }
@Test public void deployApplicationTest() throws DeploymentException { armArtifactDeployerSpy.deployApplication(); verify(clientMock).deployApplication(metadataMock); verify(armArtifactDeployerSpy).checkApplicationHasStarted(); verify(clientMock, never()).undeployApplication(metadataMock); verify(clientMock, never()).redeployApplication(FAKE_APPLICATION_ID, metadataMock); }