MockitoStubbing
SUGGESTION
Simplification
Summary
Don’t unnecessarily use Mockito’s
eq(...)
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("MockitoStubbing")
to the enclosing element.Disable this pattern completely by adding
-Xep:MockitoStubbing:OFF
as compiler argument. Learn more.