IndexValue getExpectedValue(MockId id, boolean wantPut) {
    return getExpectedValue(id, wantPut ? EnumSet.of(PersistentIndex.IndexEntryType.PUT)
        : EnumSet.of(PersistentIndex.IndexEntryType.PUT, PersistentIndex.IndexEntryType.DELETE,
            PersistentIndex.IndexEntryType.UNDELETE), null);
  }
Gets the value that is expected to obtained from the {@link PersistentIndex}.
@param id the {@link MockId} whose value is required.
@param wantPut {@code true} if the {@link IndexValue} of the PUT entry is required.
@return the value that is expected to obtained from the {@link PersistentIndex}
ambry-store/src/test/java/com/github/ambry/store/CuratedLogIndexState.java