Replace PowerMock runner with JUnit @RunWith

MSAL

Replaces @RunWith(PowerMockRunner.class). If @PowerMockRunnerDelegate(X.class) is present, promotes the delegate runner to @RunWith(X.class). Otherwise, replaces it with @RunWith(MockitoJUnitRunner.Silent.class) when the class uses Mockito annotations like @Mock, or removes the @RunWith(PowerMockRunner.class) annotation entirely.

org.openrewrite.java.testing.mockito.PowerMockRunnerDelegateToRunWith
mod run . --recipe=org.openrewrite.java.testing.mockito.PowerMockRunnerDelegateToRunWith

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