@Override
  public boolean update(String path, DataUpdater<T> updater, int options) {
    T newRecord = null;
    if (exceptionDuringUpdater) {
      return false;
    }
    try {
      newRecord = updater.update(pathToRecords.get(path));
    } catch (Exception e) {
      exceptionDuringUpdater = true;
    }
    if (exceptionDuringUpdater) {
      return false;
    } else {
      return setAndNotify(path, newRecord);
    }
  }
Constructor for {@code MockHelixPropertyStore}.
@param shouldFailSetOperation A binary indicator to specify if the {@link #set(String, Object, int)} operation
                              should fail.
@param shouldRemoveRecordBeforeNotify A boolean indicator to specify if the record should be removed before
                                       notifying listeners.
ambry-clustermap/src/test/java/com/github/ambry/clustermap/MockHelixPropertyStore.java