Class 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 Detail

      • NuxeoDefaultAnnotationEngine

        public NuxeoDefaultAnnotationEngine()
    • Method Detail

      • createMockFor

        public Object createMockFor​(Annotation annotation,
                                    Field field)
        Specified by:
        createMockFor in interface org.mockito.configuration.AnnotationEngine
        Overrides:
        createMockFor in class org.mockito.internal.configuration.DefaultAnnotationEngine