public class IndependentAnnotationEngine extends Object implements AnnotationEngine, AnnotationEngine
Mock
or @Captor
.
The process(Class, Object)
method implementation does not process super classes!
MockitoAnnotations
Constructor and Description |
---|
IndependentAnnotationEngine() |
Modifier and Type | Method and Description |
---|---|
void |
process(Class<?> clazz,
Object testInstance)
Processes the test instance to configure annotated members.
|
public void process(Class<?> clazz, Object testInstance)
AnnotationEngine
process
in interface AnnotationEngine
clazz
- Class where to extract field information, check implementation for detailstestInstance
- Test instanceCopyright © 2020. All rights reserved.