public static MockRestRequest createRestRequest(Account account, Container container, RestMethod restMethod)
      throws Exception {
    JSONObject data = new JSONObject();
    data.put(MockRestRequest.REST_METHOD_KEY, restMethod.name());
    data.put(MockRestRequest.URI_KEY, "/");
    JSONObject headers = new JSONObject();
    headers.put(RestUtils.InternalKeys.TARGET_ACCOUNT_KEY, account);
    headers.put(RestUtils.InternalKeys.TARGET_CONTAINER_KEY, container);
    data.put(MockRestRequest.HEADERS_KEY, headers);
    return new MockRestRequest(data, null);
  }
Create {@link MockRestRequest} object using the specified {@link Account}, {@link Container} and {@link RestMethod}.
@param account {@link Account} object.
@param container {@link Container} object.
@param restMethod {@link RestMethod} object.
@return MockRestRequest object.
@throws Exception in case of any exception.
ambry-test-utils/src/main/java/com/github/ambry/quota/QuotaTestUtils.java