Class Plugins


  • public class Plugins
    extends java.lang.Object
    Access to Mockito behavior that can be reconfigured by plugins
    • Constructor Detail

      • Plugins

        public Plugins()
    • 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 default mock maker if no MockMaker extension exists or is visible in the current classpath.

      • getPlugins

        public static MockitoPlugins getPlugins()
        Returns:
        instance of mockito plugins type