@Test
  public void testCheckAndCharge() throws Exception {
    checkAndChargeTest(true);
    checkAndChargeTest(false);
  }
Running for both {@link QuotaMode#TRACKING} as well as {@link QuotaMode#THROTTLING}.
@return an array container a flag that is {@code true} for {@link QuotaMode#THROTTLING} and {@code false} for
{@link QuotaMode#TRACKING}.
ambry-quota/src/test/java/com/github/ambry/quota/PreProcessQuotaChargeCallbackTest.java