Find Mockito verify(mock).method(...) calls

Proprietary

Mockito's verify(mock).method(arg) records a verification at the call site. mockk inverts the form: verify { mock.method(arg) } — the lambda block makes the verified invocations explicit and supports exactly = n, atLeast = n, etc., as named arguments to the outer call.

org.openrewrite.kotlin.testing.FindMockitoVerifyCall$KtRecipe
mod run . --recipe='org.openrewrite.kotlin.testing.FindMockitoVerifyCall$KtRecipe'

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