{
DeployerClient main = getMainDeployer();
Deployment single = createSimpleDeployment("single");
assertEquals(DeploymentStages.NOT_INSTALLED, main.getDeploymentStage(single.getName()));
main.deploy(single);
List<String> expected = new ArrayList<String>();
expected.add(single.getName());
assertEquals(expected, deployer.getDeployedUnits());
assertEquals(DeploymentStages.INSTALLED, main.getDeploymentStage(single.getName()));