Find overly broad mocks

Proprietary

Detect Mockito stubbing or verification calls that use 3 or more any() matchers, which can hide incorrect arguments and reduce test effectiveness.

io.moderne.prethink.testing.quality.FindOverlyBroadMocks
mod run . --recipe=io.moderne.prethink.testing.quality.FindOverlyBroadMocks

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