java.lang.Object
org.mockito.internal.configuration.plugins.Plugins

public class Plugins extends Object
Access to Mockito behavior that can be reconfigured by plugins
  • Constructor Details

    • Plugins

      public Plugins()
  • Method Details

    • 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 no MockMaker extension exists or is visible in the current classpath.