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:
  • Constructor Details

    • DoNotMockChecker

      public DoNotMockChecker()