void doNamedBlobPutListDeleteTest(Account account, Container container) throws Exception {
    int listMaxResults = NAMED_BLOB_LIST_RESULT_MAX;
    // upload three batches of blobs,
    // listMaxResults-1 blobs that start with aaaa
    // listMaxResults * 2 + listMaxResults-2 blobs that start with bbbb
    // listMaxResults blobs that start with cccc
    List<String> allBlobNames = new ArrayList<>();
    String accountName = account.getName();
    String containerName = container.getName();
    String contentType = "application/octet-stream";
    String ownerId = "namedBlobTest";
    for (Pair<String, Integer> pair : Arrays.asList(new Pair<>("aaaa", listMaxResults - 1),
        new Pair<>("bbbb", 3 * listMaxResults - 2), new Pair<>("cccc", listMaxResults))) {
      for (int i = 0; i < pair.getSecond(); i++) {
        HttpHeaders headers = new DefaultHttpHeaders();
        headers.add(RestUtils.Headers.USER_META_DATA_HEADER_PREFIX + "key1", "value1");
        headers.add(RestUtils.Headers.USER_META_DATA_HEADER_PREFIX + "key2", "value2");
        setAmbryHeadersForPut(headers, TTL_SECS, false, accountName, contentType, ownerId, null, null);
        ByteBuffer content = ByteBuffer.wrap(TestUtils.getRandomBytes(100));
        String blobName = pair.getFirst() + String.format("%02d", i);
        putNamedBlobAndVerify(headers, content, 100, accountName, containerName, blobName);
        allBlobNames.add(blobName);
      }
    }

    // Check the LIST operation
    verifyListNamedBlobs(accountName, containerName, ownerId, "aaaa", listMaxResults - 1);
    verifyListNamedBlobs(accountName, containerName, ownerId, "bbbb", 3 * listMaxResults - 2);
    verifyListNamedBlobs(accountName, containerName, ownerId, "cccc", listMaxResults);

    // DELETE all the named blobs
    for (String blobName : allBlobNames) {
      String blobId = buildUriForNamedBlob(accountName, containerName, blobName);
      deleteBlobAndVerify(blobId);
    }
  }
Utility to test named blob LIST  operations.
@param account the {@link Account} to use in post headers.
@param container the {@link Container} to use in post headers.
@throws Exception
ambry-frontend/src/integration-test/java/com/github/ambry/frontend/FrontendIntegrationTestBase.java