@BeforeClass public static void init() throws Exception { provUtil = new SoapProvTestUtil(); prov = provUtil.getProv(); domain = provUtil.createDomain(baseDomainName()); acct = provUtil.createAccount("acct", domain); memberAcct = provUtil.createAccount("member-acct", domain); GalTestUtil.enableGalSyncAccount(prov, domain.getName()); }
@AfterClass public static void cleanup() throws Exception { // use soap to delete account, the mailbox will also be deleted if (acct != null) { // test null in case init failed provUtil.deleteAccount(acct); } if (memberAcct != null) { // test null in case init failed provUtil.deleteAccount(memberAcct); } Cleanup.deleteAll(baseDomainName()); }