private static void close(AutoCloseable autoCloseable) {
    try {
      autoCloseable.close();
    } catch (Exception e) {
      throw new RuntimeException(e);
    }
  }
Sets to the given value.

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