@AfterClass
 public static void tearDown() throws Exception {
   TestUtils.deleteFrom(database, "users", "groups", "group_membership");
   if (database != null) {
     database.shutdown();
   }
 }
 @After
 public void tearDown() {
   if (database != null) {
     database.shutdown();
   }
 }
 @After
 public void tearDown() {
   seatsDb.shutdown();
 }
  @After
  public void tearDown() throws Exception {
    super.tearDown();

    db.shutdown();
  }
 @After
 public void shutdownEmbeddedDatabase() throws Exception {
   embeddedDatabase.shutdown();
 }
 @After
 public void shutdown() {
   db.shutdown();
 }
Пример #7
0
 @After
 public void shutdownDb() throws Exception {
   database.shutdown();
 }