Class Plugins
- java.lang.Object
-
- org.mockito.internal.configuration.plugins.Plugins
-
public class Plugins extends java.lang.Object
Access to Mockito behavior that can be reconfigured by plugins
-
-
Constructor Summary
Constructors Constructor Description Plugins()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description 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
-
-
-
Method Detail
-
getStackTraceCleanerProvider
public static StackTraceCleanerProvider getStackTraceCleanerProvider()
The implementation of the stack trace cleaner
-
getMockMaker
public static MockMaker getMockMaker()
Returns the implementation of the mock maker available for the current runtime.Returns
CglibMockMaker
if noMockMaker
extension exists or is visible in the current classpath.
-
-