private void verifyBatchDeleteResponse(BatchDeleteResponse orgRes, BatchDeleteResponse deserializedRes) {
    Assert.assertEquals(orgRes.type, RequestOrResponseType.BatchDeleteResponse);
    Assert.assertEquals(orgRes.type, deserializedRes.type);
    Assert.assertEquals(orgRes.getCorrelationId(), deserializedRes.getCorrelationId());
    Assert.assertEquals(orgRes.getClientId(), deserializedRes.getClientId());
    Assert.assertEquals(orgRes.getError(), deserializedRes.getError());
    Assert.assertEquals(orgRes.getPartitionResponseInfoList().size(),
        deserializedRes.getPartitionResponseInfoList().size());
    for (int i = 0; i < orgRes.getPartitionResponseInfoList().size(); i++) {
      BatchDeletePartitionResponseInfo orgPartitionResponseInfo = orgRes.getPartitionResponseInfoList().get(i);
      BatchDeletePartitionResponseInfo deserializedPartitionResponseInfo =
          deserializedRes.getPartitionResponseInfoList().get(i);
      Assert.assertEquals(orgPartitionResponseInfo.getPartition(), deserializedPartitionResponseInfo.getPartition());
      Assert.assertEquals(orgPartitionResponseInfo.getBlobsDeleteStatus().size(),
          deserializedPartitionResponseInfo.getBlobsDeleteStatus().size());
      for (int j = 0; j < orgPartitionResponseInfo.getBlobsDeleteStatus().size(); j++) {
        Assert.assertEquals(orgPartitionResponseInfo.getBlobsDeleteStatus().get(j).getBlobId(),
            deserializedPartitionResponseInfo.getBlobsDeleteStatus().get(j).getBlobId());
        Assert.assertEquals(orgPartitionResponseInfo.getBlobsDeleteStatus().get(j).getStatus(),
            deserializedPartitionResponseInfo.getBlobsDeleteStatus().get(j).getStatus());
      }
    }
  }
Verify the two {@link BatchDeleteResponse} are the same
@param orgRes the original {@link BatchDeleteResponse}
@param deserializedRes the deserialized {@link BatchDeleteResponse}
ambry-protocol/src/test/java/com/github/ambry/protocol/RequestResponseTest.java