AgentApplicationDeployer implements Deployer { @Override public void deploy() throws DeploymentException { applicationDeployer.deployApplication(); } AgentApplicationDeployer(Deployment deployment, DeployerLog log); protected  AgentApplicationDeployer(ApplicationDeployer deployer); @Override void deploy(); @Override void undeploy();  }
@Test public void deployTest() throws DeploymentException { agentApplicationDeployer.deploy(); verify(applicationDeployerMock, times(1)).deployApplication(); verify(applicationDeployerMock, times(0)).undeployApplication(); }