Class IndependentAnnotationEngine
java.lang.Object
org.mockito.internal.configuration.IndependentAnnotationEngine
- All Implemented Interfaces:
AnnotationEngine
Initializes fields annotated with @
Mock
or @Captor
.
The process(Class, Object)
method implementation does not process super classes!
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.mockito.plugins.AnnotationEngine
AnnotationEngine.NoAction
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionProcesses the test instance to configure annotated members.
-
Constructor Details
-
IndependentAnnotationEngine
public IndependentAnnotationEngine()
-
-
Method Details
-
process
Description copied from interface:AnnotationEngine
Processes the test instance to configure annotated members.- Specified by:
process
in interfaceAnnotationEngine
- Parameters:
clazz
- Class where to extract field information, check implementation for detailstestInstance
- Test instance
-