@Test
  public void testGetQuotaConfig() throws Exception {
    RestRequest restRequest = createRestRequest(RestMethod.GET);
    PreProcessQuotaChargeCallback preProcessQuotaChargeCallback =
        new PreProcessQuotaChargeCallback(quotaManager, restRequest);
    Assert.assertEquals(quotaConfig, preProcessQuotaChargeCallback.getQuotaConfig());
  }
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