Package org.nuxeo.runtime.mockito
Class NuxeoDefaultAnnotationEngine
- java.lang.Object
-
- org.mockito.internal.configuration.DefaultAnnotationEngine
-
- org.nuxeo.runtime.mockito.NuxeoDefaultAnnotationEngine
-
- All Implemented Interfaces:
org.mockito.configuration.AnnotationEngine
public class NuxeoDefaultAnnotationEngine extends org.mockito.internal.configuration.DefaultAnnotationEngine
Unfortunately, since there are some private methos in the Mockito DefaultAnnotationEngine we have to copy/paste some original code to insert our own logic.- Since:
- 5.7.8
-
-
Constructor Summary
Constructors Constructor Description NuxeoDefaultAnnotationEngine()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
createMockFor(Annotation annotation, Field field)
-
-
-
Method Detail
-
createMockFor
public Object createMockFor(Annotation annotation, Field field)
- Specified by:
createMockFor
in interfaceorg.mockito.configuration.AnnotationEngine
- Overrides:
createMockFor
in classorg.mockito.internal.configuration.DefaultAnnotationEngine
-
-