Add JUnit 4 where the PowerMock JUnit 4 module provided it
MSALAdds junit:junit to modules that use JUnit 4 and depend on powermock-module-junit4, which brings JUnit 4 in transitively, so that their tests still compile once the PowerMock dependencies are removed. A module that declares junit:junit itself is left as it is.
org. openrewrite. java. testing. mockito. AddJUnit4ReplacingPowerMockModulemod run . --recipe= org. openrewrite. java. testing. mockito. AddJUnit4ReplacingPowerMockModuleInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.
Recipe list
It runs these recipes, in this order.