private void verifyDownloadMatches(BlobId blobId, byte[] uploadedData) throws CloudStorageException {
    ByteArrayOutputStream outputStream = new ByteArrayOutputStream(blobSize);
    cloudRequestAgent.doWithRetries(() -> {
      azureDest.downloadBlob(blobId, outputStream);
      return null;
    }, "DownloadBlob", String.valueOf(testPartition));
    assertArrayEquals("Downloaded data should match the uploaded data", uploadedData, outputStream.toByteArray());
  }
test download matches the blob previously uploaded.
@param blobId id of the blob to download
@param uploadedData data uploaded to the blob
@throws CloudStorageException if download encounters an error.
ambry-cloud/src/test/java/com/github/ambry/cloud/azure/AzureIntegrationTest.java