org.mockito.configuration
AnnotationEngine
instead,
this interface will probably be removed in mockito 3.@Deprecated public interface AnnotationEngine extends AnnotationEngine
If you are interested then see implementations or source code of MockitoAnnotations.initMocks(Object)
This interface can be used to configure a different annotation engine through
IMockitoConfiguration
, however this mechanism is being superseded by the new
plugin
system.
Note that if it exists on the classpath both a class org.mockito.configuration.MockitoConfiguration
and a file mockito-extensions/org.mockito.plugins.AnnotationEngine
then the implementation of
org.mockito.configuration.MockitoConfiguration
will be chosen instead of the one in the file.
process