public class NuxeoInjectingAnnotationEngine extends org.mockito.internal.configuration.InjectingAnnotationEngine
Constructor and Description |
---|
NuxeoInjectingAnnotationEngine() |
Modifier and Type | Method and Description |
---|---|
void |
process(Class<?> clazz,
Object testInstance)
Process the fields of the test instance and create Mocks, Spies, Captors and inject them on fields annotated
@InjectMocks.
|
public NuxeoInjectingAnnotationEngine()
public void process(Class<?> clazz, Object testInstance)
This code process the test class and the super classes.
process
in interface org.mockito.configuration.AnnotationEngine
process
in class org.mockito.internal.configuration.InjectingAnnotationEngine
clazz
- Not usedtestInstance
- The instance of the test, should not be null.AnnotationEngine.process(Class, Object)
Copyright © 2015 Nuxeo SA. All rights reserved.