reset static method

  1. @visibleForTesting
void reset()

conveience method for unit tests. resets all environment variables to the state we inheritied from the parent process.

Implementation

@visibleForTesting
static void reset() {
  _self = Env._internal();
  env = _self;
}