Class DoNotMockChecker

All Implemented Interfaces:
BugChecker.MethodInvocationTreeMatcher, BugChecker.VariableTreeMatcher, Suppressible, Serializable

public class DoNotMockChecker
extends AbstractMockChecker<DoNotMock>
Points out if a Mockito or EasyMock mock is mocking an object that would be better off being tested using an alternative instance.
Author:
amalloy@google.com (Alan Malloy)
See Also:
Serialized Form
  • Constructor Details

    • DoNotMockChecker

      public DoNotMockChecker()