public static void cleanupSnapshot(Admin admin, byte[] tableName) throws IOException {
    SnapshotTestingUtils.cleanupSnapshot(admin, Bytes.toString(tableName));
  }
Confirm that the snapshot contains references to all the files that should be in the snapshot.
This method also perform some redundant check like the existence of the snapshotinfo or the
regioninfo which are done always by the MasterSnapshotVerifier, at the end of the snapshot
operation.
hbase-server/src/test/java/org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.java