protected void afterSetUp() throws Exception
{
try
{
Controller controller = ((ScopingTestAPIDelegate)getDelegate()).getController();
ScopeKey sk1 = new ScopeKey(new Scope[]{new Scope(CommonLevels.DEPLOYMENT, "deployment1"), new Scope(CommonLevels.APPLICATION, "testApp")});
ScopedAliasControllerContext.addAlias("simple", "simple1", sk1, controller);
ScopeKey sk3 = new ScopeKey(new Scope[]{new Scope(CommonLevels.DEPLOYMENT, "deployment3"), new Scope(CommonLevels.APPLICATION, "testApp")});
ScopedAliasControllerContext.addAlias("simple", "simple3", sk3, controller);
controller.addAlias("simple", "simple-main");
}
catch (Throwable t)
{
throw new Exception(t);
}