public void testDeployShutdown() throws Throwable
{
MainDeployer main = (MainDeployer)getMainDeployer();
Deployment context = createSimpleDeployment("shutdown");
main.deploy(context);
List<String> expected = new ArrayList<String>();
expected.add(context.getName());
assertEquals(expected, deployer.getDeployedUnits());
main.shutdown();