}
public void testDeleteGlobal()
throws Exception
{
PageSecurity pageSecurity = pageManager.getPageSecurity();
String method = "add-global";
String defName = "public-edit";
String xml = "";
runTest(xml, defName, method);
List globals = pageSecurity.getGlobalSecurityConstraintsRefs();
assertTrue("should have found new global " + defName, globals.contains(defName));
method = "remove-global";
runTest(xml, defName, method);
globals = pageSecurity.getGlobalSecurityConstraintsRefs();
assertFalse("should have not found new global " + defName, globals.contains(defName));
}