@AfterMethod(alwaysRun = true)
 @Override
 public void tearDown() throws Exception {
   super.tearDown();
   if (newApp != null) Entities.destroyAll(newApp.getManagementContext());
   if (newManagementContext != null) Entities.destroyAll(newManagementContext);
   if (mementoDir != null) RebindTestUtils.deleteMementoDir(mementoDir);
 }
 @AfterMethod(alwaysRun = true)
 public void tearDown() throws Exception {
   if (app != null) Entities.destroyAll(app.getManagementContext());
   if (tempDataDir != null) Os.deleteRecursively(tempDataDir);
 }
 @AfterMethod(alwaysRun = true)
 public void tearDown() {
   if (app != null) Entities.destroyAll(app.getManagementContext());
 }