@Override
  int getPersistedEntrySize() {
    if (getVersion() <= PersistentIndex.VERSION_1) {
      return persistedEntrySizeIfV0V1;
    } else {
      return super.getPersistedEntrySize();
    }
  }
Mock {@link IndexSegment} that uses non-{@link PersistentIndex#CURRENT_VERSION}
ambry-store/src/test/java/com/github/ambry/store/IndexSegmentTest.java