private void cleanUpSnapshotSizes() throws IOException {
    try (Table t = connection.getTable(QuotaTableUtil.QUOTA_TABLE_NAME)) {
      QuotaTableUtil.createDeletesForExistingTableSnapshotSizes(connection);
      List<Delete> deletes =
        QuotaTableUtil.createDeletesForExistingNamespaceSnapshotSizes(connection);
      deletes.addAll(QuotaTableUtil.createDeletesForExistingTableSnapshotSizes(connection));
      t.delete(deletes);
    }
  }
Test the quota table helpers (e.g. CRUD operations)
hbase-server/src/test/java/org/apache/hadoop/hbase/quotas/TestQuotaTableUtil.java