Replace PowerMock dependencies with Mockito equivalents
MSALReplaces PowerMock API dependencies with mockito-inline when mockStatic(), whenNew(), or @PrepareForTest usage is detected, or mockito-core otherwise. PowerMock features like static mocking, constructor mocking, and final class mocking require the inline mock maker which is bundled in mockito-inline for Mockito 3.x/4.x.
org. openrewrite. java. testing. mockito. ReplacePowerMockDependenciesmod run . --recipe= org. openrewrite. java. testing. mockito. ReplacePowerMockDependenciesInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.