Replace verifyZeroInteractions() with verifyNoMoreInteractions()
MSALReplaces verifyZeroInteractions() with verifyNoMoreInteractions() in modules that depend on a Mockito version before 3.x, which is what verifyZeroInteractions() did there.
org. openrewrite. java. testing. mockito. VerifyZeroToNoMoreInteractionsmod run . --recipe= org. openrewrite. java. testing. mockito. VerifyZeroToNoMoreInteractionsInstall 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.