org.mockito.internal.configuration.plugins
public class Plugins extends Object
Constructor and Description |
---|
Plugins() |
Modifier and Type | Method and Description |
---|---|
static InstantiatorProvider |
getInstantiatorProvider()
Returns the instantiator provider available for the current runtime.
|
static MockMaker |
getMockMaker()
Returns the implementation of the mock maker available for the current runtime.
|
static StackTraceCleanerProvider |
getStackTraceCleanerProvider()
The implementation of the stack trace cleaner
|
public static StackTraceCleanerProvider getStackTraceCleanerProvider()
public static MockMaker getMockMaker()
Returns default mock maker if no
MockMaker
extension exists or is visible in the current classpath.
public static InstantiatorProvider getInstantiatorProvider()
Returns DefaultInstantiatorProvider
if no
InstantiatorProvider
extension exists or is visible in the current classpath.