@Test
  public void testStripLeadingSlash() {
    RequestPath requestPath = new RequestPath("", "", "", "/opToMatch/abc", null, NO_BLOB_SEGMENT_IDX_SPECIFIED);
    assertEquals("Should strip leading slash", "opToMatch/abc", requestPath.getOperationOrBlobId(true));
    assertEquals("Should not strip leading slash", "/opToMatch/abc", requestPath.getOperationOrBlobId(false));
  }
Test the behavior of {@link RequestPath#getOperationOrBlobId(boolean)}.
ambry-api/src/test/java/com/github/ambry/rest/RequestPathTest.java