public void clearContainer(PartitionId testPartitionId, AzureCloudDestinationSync azureCloudDestinationSync,
      VerifiableProperties verifiableProperties) {
    ClusterMapConfig clusterMapConfig = new ClusterMapConfig(verifiableProperties);
    AzureBlobLayoutStrategy
        azureBlobLayoutStrategy = new AzureBlobLayoutStrategy(clusterMapConfig.clusterMapClusterName,
        new AzureCloudConfig(verifiableProperties));
    String blobContainerName = azureBlobLayoutStrategy.getClusterAwareAzureContainerName(
        String.valueOf(testPartitionId.getId()));
    BlobContainerClient blobContainerClient = azureCloudDestinationSync.getBlobStore(blobContainerName);
    if (blobContainerClient == null) {
      logger.info("Blob container {} does not exist", blobContainerName);
      return;
    }
    ListBlobsOptions listBlobsOptions =
        new ListBlobsOptions().setDetails(new BlobListDetails().setRetrieveMetadata(true));
    String continuationToken = null;
    for (PagedResponse<BlobItem> blobItemPagedResponse :
        blobContainerClient.listBlobs(listBlobsOptions, null).iterableByPage(continuationToken)) {
      continuationToken = blobItemPagedResponse.getContinuationToken();
      for (BlobItem blobItem : blobItemPagedResponse.getValue()) {
        blobContainerClient.getBlobClient(blobItem.getName()).delete();
      }
      if (continuationToken == null) {
        logger.info("Reached end-of-partition as Azure blob storage continuationToken is null");
        break;
      }
    }
  }
FOR TESTS ONLY !!
Clears all blobs in an Azure container
@param testPartitionId
@param azureCloudDestinationSync
@param verifiableProperties
ambry-cloud/src/main/java/com/github/ambry/cloud/azure/AzuriteUtils.java