public class ClassPathLoader extends 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 String |
MOCKITO_CONFIGURATION_CLASS_NAME |
| Constructor and Description |
|---|
ClassPathLoader() |
public static final String MOCKITO_CONFIGURATION_CLASS_NAME
public IMockitoConfiguration loadConfiguration()