stefanbirkner / system-rules

A collection of JUnit rules for testing code which uses java.lang.System.
http://stefanbirkner.github.io/system-rules
Other
546 stars 71 forks source link

New convenient method clear() in EnvironmentVariables #53

Closed szpak closed 6 years ago

szpak commented 6 years ago

environmentVariables.set("SOME_ENV", null) works fine, but clear("SOME_ENV") would be more convenient (and readable) in that case.

I can provide a PR if you agree and are willing to merge it.