@After
  public void tearDown() throws Exception {
    SnapshotTestingUtils.deleteAllSnapshots(admin);
  }
Test class to verify that metadata is consistent before and after a snapshot attempt.
hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestSnapshotMetadata.java