checkThrowable(DeploymentException.class, t);
}
deployer.clear();
assertEquals(DeploymentStages.NOT_INSTALLED, main.getDeploymentStage(single.getName()));
main.deploy(single);
assertEquals(expected, deployer.getDeployedUnits());
assertEquals(DeploymentStages.INSTALLED, main.getDeploymentStage(single.getName()));
main.change(single.getName(), DeploymentStages.CLASSLOADER);
assertEquals(DeploymentStages.CLASSLOADER, main.getDeploymentStage(single.getName()));
deployer.clear();