private void verifyBatchDeleteRequest(BatchDeleteRequest orgReq, BatchDeleteRequest deserializedReq) {
    Assert.assertEquals(orgReq.type, RequestOrResponseType.BatchDeleteRequest);
    Assert.assertEquals(orgReq.type, deserializedReq.type);
    Assert.assertEquals(orgReq.getCorrelationId(), deserializedReq.getCorrelationId());
    Assert.assertEquals(orgReq.getClientId(), deserializedReq.getClientId());
    Assert.assertEquals(orgReq.getDeletionTimeInMs(), deserializedReq.getDeletionTimeInMs());
    Assert.assertEquals(orgReq.getPartitionRequestInfoList().size(),
        deserializedReq.getPartitionRequestInfoList().size());
    for (int i = 0; i < orgReq.getPartitionRequestInfoList().size(); i++) {
      BatchDeletePartitionRequestInfo orgPartitionRequestInfo = orgReq.getPartitionRequestInfoList().get(i);
      BatchDeletePartitionRequestInfo deserializedPartitionRequestInfo =
          deserializedReq.getPartitionRequestInfoList().get(i);
      Assert.assertEquals(orgPartitionRequestInfo.getPartition(), deserializedPartitionRequestInfo.getPartition());
      Assert.assertEquals(orgPartitionRequestInfo.getBlobIds().size(),
          deserializedPartitionRequestInfo.getBlobIds().size());
      for (int j = 0; j < orgPartitionRequestInfo.getBlobIds().size(); j++) {
        Assert.assertEquals(orgPartitionRequestInfo.getBlobIds().get(j),
            deserializedPartitionRequestInfo.getBlobIds().get(j));
      }
    }
  }
Verify the two {@link BatchDeleteRequest} are the same
@param orgReq the original {@link BatchDeleteRequest}
@param deserializedReq the deserialized {@link BatchDeleteRequest}
ambry-protocol/src/test/java/com/github/ambry/protocol/RequestResponseTest.java