private RestRequest createNamedBlobRestRequest(RestMethod method, String accountName, String containerName,
      String blobName) throws Exception {
    JSONObject headers = new JSONObject();
    headers.put(RestUtils.Headers.NAMED_UPSERT, true);
    JSONObject request = new JSONObject();
    request.put(MockRestRequest.REST_METHOD_KEY, method.name());
    request.put(MockRestRequest.URI_KEY,
        String.format("/%s/%s/%s/%s", Operations.NAMED_BLOB, accountName, containerName, blobName));
    request.put(MockRestRequest.HEADERS_KEY, headers);
    MockRestRequest restRequest = new MockRestRequest(request, null);
    restRequest.setArg(RestUtils.InternalKeys.REQUEST_PATH,
        RequestPath.parse(restRequest, Collections.emptyList(), null));
    return restRequest;
  }
Test get blob chunk Ids for composite blob.
@throws Exception
ambry-router/src/test/java/com/github/ambry/router/NonBlockingRouterTest.java