Replace JUnit 4 MockitoJUnitRunner with junit-jupiter MockitoExtension
MSALReplace JUnit 4 MockitoJUnitRunner annotations with JUnit 5 @ExtendWith(MockitoExtension.class) using the appropriate strictness levels (LENIENT, WARN, STRICT_STUBS).
org. openrewrite. java. testing. mockito. MockitoJUnitRunnerToExtensionmod run . --recipe= org. openrewrite. java. testing. mockito. MockitoJUnitRunnerToExtensionInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.