@Test public void deployDomainTest() throws DeploymentException { when(deploymentMock.getApplicationName()).thenReturn(DOMAIN_NAME); when(deploymentMock.getArtifact()).thenReturn(applicationFile); deployer.deployDomain(); verify(clientMock).deployDomain(DOMAIN_NAME, applicationFile); }
@Override public void deployDomain() { client.deployDomain(deployment.getApplicationName(), deployment.getArtifact()); }
AgentArtifactDeployer implements ArtifactDeployer { @Override public void deployDomain() { client.deployDomain(deployment.getApplicationName(), deployment.getArtifact()); } }
AgentArtifactDeployer implements ArtifactDeployer { @Override public void deployDomain() { client.deployDomain(deployment.getApplicationName(), deployment.getArtifact()); } AgentArtifactDeployer(Deployment deployment, DeployerLog log); protected  AgentArtifactDeployer(Deployment deployment, AgentClient client); }
AgentArtifactDeployer implements ArtifactDeployer { @Override public void deployDomain() { client.deployDomain(deployment.getApplicationName(), deployment.getArtifact()); } AgentArtifactDeployer(Deployment deployment, DeployerLog log); protected  AgentArtifactDeployer(Deployment deployment, AgentClient client); @Override void deployDomain(); @Override void undeployDomain(); @Override void deployApplication(); @Override void undeployApplication(); AgentDeploymentVerification getDeploymentVerification(); }
AgentArtifactDeployer implements ArtifactDeployer { @Override public void deployDomain() { client.deployDomain(deployment.getApplicationName(), deployment.getArtifact()); } AgentArtifactDeployer(Deployment deployment, DeployerLog log); protected  AgentArtifactDeployer(Deployment deployment, AgentClient client); @Override void deployDomain(); @Override void undeployDomain(); @Override void deployApplication(); @Override void undeployApplication(); AgentDeploymentVerification getDeploymentVerification();  }