private void prepareDataForTestingBatchDelete(){
    encryptionKey = new ArrayList<>(5);
    usermetadata = new ArrayList<>(5);
    data = new ArrayList<>(5);
    Random random = new Random();
    for (int i = 0; i < 5; i++) {
      if (i % 2 == 0) {
        encryptionKey.add(new byte[100]);
        random.nextBytes(encryptionKey.get(i));
      } else {
        encryptionKey.add(null);
      }
      usermetadata.add(new byte[1000 + i]);
      data.add(new byte[31870 + i]);
      random.nextBytes(usermetadata.get(i));
      random.nextBytes(data.get(i));
    }

    properties = new ArrayList<>(5);
    properties.add(new BlobProperties(31870, "serviceid1", Utils.getRandomShort(TestUtils.RANDOM),
        Utils.getRandomShort(TestUtils.RANDOM), true));
    properties.add(new BlobProperties(31871, "serviceid1", Utils.getRandomShort(TestUtils.RANDOM),
        Utils.getRandomShort(TestUtils.RANDOM), false));
    properties.add(new BlobProperties(31872, "serviceid1", Utils.getRandomShort(TestUtils.RANDOM),
        Utils.getRandomShort(TestUtils.RANDOM), true));
    properties.add(
        new BlobProperties(31873, "serviceid1", "ownerid", "jpeg", false, 0, Utils.getRandomShort(TestUtils.RANDOM),
            Utils.getRandomShort(TestUtils.RANDOM), false, null, null, null));
    properties.add(new BlobProperties(31874, "serviceid1", Utils.getRandomShort(TestUtils.RANDOM),
        Utils.getRandomShort(TestUtils.RANDOM), true));

    blobIdList1 = new ArrayList<>(3);
    blobIdList2 = new ArrayList<>(2);
    for (int i = 0; i < 5; i++) {
      if (i%2 == 0) {
        blobIdList1.add(new BlobId(CommonTestUtils.getCurrentBlobIdVersion(), BlobId.BlobIdType.NATIVE,
            mockClusterMap.getLocalDatacenterId(), properties.get(i).getAccountId(), properties.get(i).getContainerId(),
            partitionIds.get(0), false, BlobId.BlobDataType.DATACHUNK));
      }
      else{
        blobIdList2.add(new BlobId(CommonTestUtils.getCurrentBlobIdVersion(), BlobId.BlobIdType.NATIVE,
            mockClusterMap.getLocalDatacenterId(), properties.get(i).getAccountId(), properties.get(i).getContainerId(),
            partitionIds.get(1), false, BlobId.BlobDataType.DATACHUNK));
      }
    }
  }
Deletes a list of blobs from ambry server node
@param batchDeletePartitionRequestInfos the {@link List<BatchDeletePartitionRequestInfo>} that needs to be deleted
@param channel the {@link ConnectedChannel} to use to send and receive data
@throws IOException
ambry-server/src/integration-test/java/com/github/ambry/server/ServerBatchDeleteTest.java