static boolean arePersistedFieldsEquivalent(BlobProperties a, BlobProperties b) {
    return a.getServiceId().equals(b.getServiceId()) && a.getOwnerId().equals(b.getOwnerId()) && a.getContentType()
        .equals(b.getContentType()) && a.isPrivate() == b.isPrivate()
        && a.getTimeToLiveInSeconds() == b.getTimeToLiveInSeconds()
        && a.getCreationTimeInMs() == b.getCreationTimeInMs() && a.getAccountId() == b.getAccountId()
        && a.getContainerId() == b.getContainerId() && a.isEncrypted() == b.isEncrypted() && Objects.equals(
        a.getFilename(), b.getFilename()) && Objects.equals(a.getContentEncoding(), b.getContentEncoding());
  }
Test whether persistent properties in two {@link BlobProperties} are same.
@return true if the persistent properties are equivalent in the two {@link BlobProperties}
ambry-router/src/test/java/com/github/ambry/router/RouterTestHelpers.java