static void addBlobToMessageSet(MockMessageWriteSet messageWriteSet, long expiresAtMs, short accountId,
      short containerId, PartitionId partitionId, long operationTime, short lifeVersion) {
    long size = 100;
    BlobId id = getUniqueId(accountId, containerId, false, partitionId);
    long crc = new Random().nextLong();
    MessageInfo info =
        new MessageInfo(id, size, false, true, false, expiresAtMs, crc, accountId, containerId, operationTime,
            lifeVersion);
    ByteBuffer buffer = ByteBuffer.wrap(TestUtils.getRandomBytes((int) size));
    messageWriteSet.add(info, buffer);
  }
Utility method to generate a BlobId and byte buffer for a blob with specified properties and add them to the specified MessageWriteSet.
@param messageWriteSet the {@link MockMessageWriteSet} in which to store the data.
@param expiresAtMs the expiration time.
@param accountId the account Id.
@param containerId the container Id.
@param partitionId the partition id.
@param operationTime the operation time.
@param lifeVersion the life version.
ambry-cloud/src/test/java/com/github/ambry/cloud/CloudTestUtil.java