@Override
  public boolean isEqual(String partitionId) {
    return partition.toString().equals(partitionId);
  }
Mock partition id for unit tests
ambry-test-utils/src/main/java/com/github/ambry/clustermap/MockPartitionId.java