JUnit 4 MockitoJUnitRunner.Silent to JUnit Jupiter MockitoExtension with LENIENT settings

MSAL

Replace @RunWith(MockitoJUnitRunner.Silent.class) with @ExtendWith(MockitoExtension.class) and @MockitoSettings(strictness = Strictness.LENIENT).

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

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