public class ClassPathLoader
extends java.lang.Object
org.mockito.configuration.MockitoConfiguration that implements
IMockitoConfiguration. For example :
package org.mockito.configuration;
//...
public class MockitoConfiguration implements IMockitoConfiguration {
boolean enableClassCache() { return false; }
// ...
}
MockMaker. This extension point allows a user to provide his own bytecode engine to build mocks.
org.awesome.mockito.AwesomeMockMaker.org.mockito.plugins.MockMaker in a folder named
mockito-extensions, the content of this file need to have one line with
the qualified name org.awesome.mockito.AwesomeMockMaker.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
MOCKITO_CONFIGURATION_CLASS_NAME |
| Constructor and Description |
|---|
ClassPathLoader() |
| Modifier and Type | Method and Description |
|---|---|
IMockitoConfiguration |
loadConfiguration() |
public static final java.lang.String MOCKITO_CONFIGURATION_CLASS_NAME
public IMockitoConfiguration loadConfiguration()