Package org.mockito.plugins
Interface PluginSwitch
-
@Incubating public 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 usedMockMaker
- Since:
- 1.10.15
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isEnabled(java.lang.String pluginClassName)
Mockito invokes this method for every plugin found in the classpath (except from thePluginSwitch
implementation itself).
-