@Override
    public void chargeUsage(QuotaResource quotaResource, QuotaName quotaName, double usageCost) throws QuotaException {
      if (throwResourceChargeException || throwException) {
        throw new RuntimeException("test exception");
      }
      super.chargeUsage(quotaResource, quotaName, usageCost);
    }
Run with both request throttling enabled, as well as disabled.
@return an array with both {@code false} and {@code true}.
ambry-quota/src/test/java/com/github/ambry/quota/capacityunit/AmbryCUQuotaEnforcerTest.java