Package org.mockito.plugins
Interface PluginSwitch
Allows switching off the plugins that are discovered on classpath.
When a particular plugin is switched off, the default Mockito behavior is used.
For example, if Android's dexmaker MockMaker is switched off,
Mockito default MockMaker implementation is used
MockMaker
- Since:
- 1.10.15
-
Method Summary
-
Method Details
-
isEnabled
Mockito invokes this method for every plugin found in the classpath (except from thePluginSwitch
implementation itself). If no custom plugins are discovered this method is not invoked.- Since:
- 1.10.15
-