Use Mockito JUnit Jupiter extension
MSALMigrate uses of @RunWith(MockitoJUnitRunner.class) (and similar annotations) to @ExtendWith(MockitoExtension.class).
org. openrewrite. java. testing. junit5. UseMockitoExtensionmod run . --recipe= org. openrewrite. java. testing. junit5. UseMockitoExtensionInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.
Recipe list
It runs these recipes, in this order.