Replace PowerMock dependencies with Mockito equivalents

MSAL

Replaces 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.ReplacePowerMockDependencies
mod run . --recipe=org.openrewrite.java.testing.mockito.ReplacePowerMockDependencies

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.