Module Mockito
Provides classes and predicates for identifying use of the Mockito mocking framework.
QL classes are provided for detecting uses of Mockito annotations on fields.
Import path
import semmle.code.java.frameworks.Mockito
Imports
java | Provides all default Java QL imports. |
Classes
MockitoAnnotatedField | A field which has a Mockito annotation. |
MockitoAnnotation | A Mockito annotation. |
MockitoExclusiveAnnotation | Only one of these annotations should be applied to a field. |
MockitoInitMocks | The |
MockitoInitedTest | A class where the Mockito annotated fields have been initialized. |
MockitoInjectedField | A field annotated with |
MockitoMockInjectedClass | A class which is referenced by an |
MockitoMockMethod | |
MockitoMockableType | A type that can be mocked by Mockito. |
MockitoMockedField | A field annotated with the Mockito |
MockitoMockedObject | |
MockitoSettableField | A field in a |
MockitoSpiedField | A field annotated with the Mockito |
MockitoVerifiedMethodCall | A MethodCall which is called as part of a Mockito verification setup. |
MockitoVerifyMethod | A |
Aliases
MockitoVerifiedMethodAccess | DEPRECATED: Alias for |