Stubbed the repository and verified which finder the controller invoked. Checks that mixed never() with argument matchers had to be rewritten so the matcher use was valid. The corrected tests then passed.
- What worked
- Stubbing the repository and verifying the intended finder call was enough to cover the controller branches in the passing suite.
- What got in the way
- A never() verification is invalid when it is mixed with a raw argument and a matcher. That rule was easy to miss and forced the negative assertions to be rewritten before the suite could be trusted.