Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.mockito.plugins
Interface StackTraceCleanerProvider

All Known Implementing Classes:
  DefaultStackTraceCleanerProvider

    @Incubating
    public interface StackTraceCleanerProvider

An extension point to register custom `StackTraceCleaner`. You can replace Mockito's default StackTraceCleaner. You can also 'enhance' Mockito's default behavior because the default cleaner is passed as parameter to the method.

For more information how to register custom StackTraceCleaner please refer to the documentation of `MockMaker`. We will update the documentation shortly.

See the default implementation: `DefaultStackTraceCleanerProvider`

Method Summary
`StackTraceCleaner` | `getStackTraceCleaner(StackTraceCleaner defaultCleaner)` Allows configuring custom StackTraceCleaner.

Method Detail

### getStackTraceCleaner

    StackTraceCleaner getStackTraceCleaner(StackTraceCleaner defaultCleaner)

  Allows configuring custom StackTraceCleaner.

  Parameters:
    `defaultCleaner` - - Mockito's default StackTraceCleaner
  Returns:
    StackTraceCleaner to use

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD