@Test
  public void testSwitchRpcThrottle() throws IOException {
    Admin admin = TEST_UTIL.getAdmin();
    testSwitchRpcThrottle(admin, true, true);
    testSwitchRpcThrottle(admin, true, false);
    testSwitchRpcThrottle(admin, false, false);
    testSwitchRpcThrottle(admin, false, true);
  }
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