private void verifyUserQuotaHeaders(HttpResponse response) {
    assertTrue(response.headers().contains(RestUtils.RequestQuotaHeaders.USER_QUOTA_USAGE));
    assertTrue(response.headers().contains(RestUtils.RequestQuotaHeaders.RETRY_AFTER_MS));
    assertTrue(response.headers().contains(RestUtils.RequestQuotaHeaders.USER_QUOTA_WARNING));
    Map<String, String> quotaUsageHeader = RestUtils.KVHeaderValueEncoderDecoder.decodeKVHeaderValue(
        response.headers().get(RestUtils.RequestQuotaHeaders.USER_QUOTA_USAGE));
    assertTrue(quotaUsageHeader.containsKey(QuotaName.READ_CAPACITY_UNIT.name()) || quotaUsageHeader.containsKey(
        QuotaName.WRITE_CAPACITY_UNIT.name()));
  }
Verifies user quota headers from output.
@param response the {@link HttpResponse} which contains the headers of the response.
ambry-frontend/src/integration-test/java/com/github/ambry/frontend/FrontendQuotaIntegrationTest.java