code: public static Environment create(final EnvVars envVars) {
  		return new Environment() {
  			@Override
  			public void buildEnvVars(Map<String, String> env) {
  				env.putAll(envVars);
  			}
  		};
  	}
docs: Creates {@link Environment} implementation that just sets the variables as given in the parameter.