private BlobId getNewBlobId(ClusterMap referenceClusterMap) {
    byte dc = (byte) TestUtils.RANDOM.nextInt(3);
    BlobId.BlobIdType type = TestUtils.RANDOM.nextBoolean() ? BlobId.BlobIdType.NATIVE : BlobId.BlobIdType.CRAFTED;
    return new BlobId(CommonTestUtils.getCurrentBlobIdVersion(), type, dc, getRandomShort(TestUtils.RANDOM),
        getRandomShort(TestUtils.RANDOM),
        referenceClusterMap.getRandomWritablePartition(MockClusterMap.DEFAULT_PARTITION_CLASS, null), false,
        BlobId.BlobDataType.DATACHUNK);
  }
Generate new {@link BlobId}
@param referenceClusterMap clusterMap from which partition info to be fetched
@return newly generated {@link BlobId}
ambry-router/src/test/java/com/github/ambry/router/CryptoJobHandlerTest.java