@@ -0,0 +1,736 @@
+package com.github.ambry.commons;%0A%0Aimport com.github.ambry.clustermap.Partition;%0Aimport com.github.ambry.clustermap.PartitionId;%0Aimport com.github.ambry.clustermap.PartitionState;%0Aimport org.junit.Test;%0A%0Aimport static org.junit.Assert.assertEquals;%0A%0A%0Apublic class BlobIdTest %7B%0A  @Test%0A  public void basicTest() %7B%0A    final long id = 99;%0A    final long replicaCapacityInBytes = 1024 * 1024 * 1024;%0A    PartitionId partitionId = new Partition(id, PartitionState.READ_WRITE, replicaCapacityInBytes);%0A    BlobId blobId = new BlobId(partitionId);%0A%0A    assertEquals(blobId.getPartition(), partitionId);%0A    System.out.println(%22Blob Id toString: %22 + blobId);%0A    System.out.println(%22Blob id sizeInBytes: %22 + blobId.toString().length());%0A  %7D%0A%7D%0A

Add BlobIdTest class