@Test
  public void testS3Request() {
    String path = "/s3/accountName/container-a/path/to/key";
    RequestPath expectedRequestPath = new RequestPath("", "", "/named/accountName/container-a/path/to/key",
        "/named/accountName/container-a/path/to/key", null, NO_BLOB_SEGMENT_IDX_SPECIFIED);
    parseRequestPathAndVerify(path, Collections.emptyList(), "", expectedRequestPath, new JSONObject());
  }
Tests that a s3 request is converted to named blob request internally
ambry-api/src/test/java/com/github/ambry/rest/RequestPathTest.java