@Test
  public void testQuotaTableDisableAndEnable() throws Exception {
    final Admin admin = TEST_UTIL.getAdmin();
    admin.disableTable(QuotaUtil.QUOTA_TABLE_NAME);
    try {
      admin.enableTable(QuotaUtil.QUOTA_TABLE_NAME);
    } catch (Exception ex) {
      fail("Got an exception while enabling table: " + QuotaUtil.QUOTA_TABLE_NAME);
    }
  }
minicluster tests that validate that quota entries are properly set in the quota table
hbase-server/src/test/java/org/apache/hadoop/hbase/quotas/TestQuotaAdmin.java