S6073 - False positive on argument matchers

We’re seeing this on SonarCloud.

ex:

verify(service, times(1))
        .method(captor1.capture(), captor2.capture());

Sonar is flagged the second capture as needing eq()

Hello @internetstaff, thanks for reporting this issue.

It would be really helpful if you could share a self-contained code sample with the imports and the version of Mockito used in this example.

Best,