private void verifyGetWithDefaultOptions(String blobId, JSONObject expectedHeaders, ByteBuffer expectedContent,
      EnumSet<GetOption> defaultOptionsToTest) throws Exception {
    for (GetOption option : defaultOptionsToTest) {
      restartFrontendRestRequestServiceWithDefaultGetOption(option);
      getBlobInfoAndVerify(blobId, null, expectedHeaders, refAccount, refContainer);
      getHeadAndVerify(blobId, null, null, expectedHeaders, refAccount, refContainer);
      getBlobAndVerify(blobId, null, null, expectedHeaders, expectedContent, refAccount, refContainer);
    }
  }
Verifies GET blob, blobinfo and HEAD with the given {@code defaultOptionsToTest} set as the default {
@link GetOption} (one by one)
@param blobId the id of the blob to fetch
@param expectedHeaders the headers expected in the responses
@param expectedContent the content expected for the blob
@param defaultOptionsToTest the {@link GetOption}s to check as defaults
@throws Exception
ambry-frontend/src/test/java/com/github/ambry/frontend/FrontendRestRequestServiceTest.java