Configures test via annotations.
since 2.15.4 because this internal class was leaking from the public API.
Mockito will invoke this interface in order to fetch an instance instantiator provider.
A member accessor is responsible for invoking methods, constructors and for setting and reading field values.
Instance of this interface is available via
The facility to create mocks.
Carries the mockability information
A mock resolver offers an opportunity to resolve a mock from any instance that is provided to the
Allows switching off the plugins that are discovered on classpath.
An extension point to register custom
The plugin mechanism of mockito works in a similar way as the
ServiceLoader, however instead of
looking in the
META-INF directory, Mockito will look in
The reason for that is that Android SDK strips jars from the
META-INF directory when creating an APK.
For example :
org.awesome.mockito.AwesomeMockMakerthat extends the
mockito-extensions/org.mockito.plugins.MockMaker". The content of this file is exactly a one line with the qualified name:
Note that if several
mockito-extensions/org.mockito.plugins.MockMaker files exists in the classpath
Mockito will only use the first returned by the standard