private void invokeBefore() {
    REFERENCE.compareAndSet(null, new HashMap<>());
    REFERENCE.get().putIfAbsent(identity, null);
  }
Sets to the given value.

@param newValue the new value
@return a reference to this DistributedReference
geode-dunit/src/main/java/org/apache/geode/test/dunit/rules/DistributedReference.java