Migrate JUnit 4 environmentVariables rule to JUnit 5 system stubs extension
MSALReplaces usage of the JUnit 4 @Rule EnvironmentVariables with the JUnit 5-compatible SystemStubsExtension and @SystemStub EnvironmentVariables from the System Stubs library.
org. openrewrite. java. testing. junit5. EnvironmentVariablesmod run . --recipe= org. openrewrite. java. testing. junit5. EnvironmentVariablesInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.