@Override
  protected void before() throws Throwable {
    passed.set(true);
    super.before();
    logger.info("SerializableTemporaryFolder root: {}", getRoot().getAbsolutePath());
  }
Specifies conditions under which {@code copyTo} is performed. Default is {@code FAIL}.

@param when the conditions under which {@code copyTo} is performed
@return a reference to this SerializableTemporaryFolder
geode-junit/src/main/java/org/apache/geode/test/junit/rules/serializable/SerializableTemporaryFolder.java