Package org.mockito.configuration
Interface AnnotationEngine
-
- All Superinterfaces:
AnnotationEngine
- All Known Implementing Classes:
IndependentAnnotationEngine
,InjectingAnnotationEngine
,SpyAnnotationEngine
@Deprecated public interface AnnotationEngine extends AnnotationEngine
Deprecated.Please useAnnotationEngine
instead, this interface will probably be removed in mockito 4.Configures mock creation logic behind @Mock, @Captor and @Spy annotationsIf you are interested then see implementations or source code of
MockitoAnnotations.openMocks(Object)
This interface can be used to configure a different annotation engine through
IMockitoConfiguration
, however this mechanism is being superseded by the newplugin
system.Note that if it exists on the classpath both a class
org.mockito.configuration.MockitoConfiguration
and a filemockito-extensions/org.mockito.plugins.AnnotationEngine
then the implementation oforg.mockito.configuration.MockitoConfiguration
will be chosen instead of the one in the file.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.mockito.plugins.AnnotationEngine
AnnotationEngine.NoAction
-
-
Method Summary
-
Methods inherited from interface org.mockito.plugins.AnnotationEngine
process
-
-