private void getBlobAndVerify(String blobId, ByteRange range, GetOption getOption, JSONObject expectedHeaders,
      ByteBuffer expectedContent, Account expectedAccount, Container expectedContainer) throws Exception {
    RestRequest restRequest = createRestRequest(RestMethod.GET, blobId, createRequestHeaders(range, getOption), null);
    MockRestResponseChannel restResponseChannel = new MockRestResponseChannel();
    doOperation(restRequest, restResponseChannel);
    verifyGetBlobResponse(restRequest, restResponseChannel, range, expectedHeaders, expectedContent, expectedAccount,
        expectedContainer);
  }
Gets the blob with blob ID {@code blobId} and verifies that the headers and content match with what is expected.
@param blobId the blob ID of the blob to GET.
@param range the optional {@link ByteRange} for the request.
@param getOption the options to use while getting the blob.
@param expectedHeaders the expected headers in the response.
@param expectedContent the expected content of the blob.
@param expectedAccount the expected account in the rest request.
@param expectedContainer the expected container in the rest request.
@throws Exception
ambry-frontend/src/test/java/com/github/ambry/frontend/FrontendRestRequestServiceTest.java