AgentDomainDeployer implements Deployer { @Override public void deploy() throws DeploymentException { domainDeployer.deployDomain(); } AgentDomainDeployer(Deployment deployment, DeployerLog log); protected  AgentDomainDeployer(DomainDeployer deployer); @Override void deploy(); @Override void undeploy();  }
@Test public void deployTest() throws DeploymentException { agentDomainDeployer.deploy(); verify(domainDeployerMock, times(1)).deployDomain(); verify(domainDeployerMock, times(0)).undeployDomain(); }