public interface StackTraceCleanerProvider
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.
Registering custom StackTraceCleaner is done in similar manner as the MockMaker
implementation.
See the default implementation: DefaultStackTraceCleanerProvider
Modifier and Type | Method and Description |
---|---|
StackTraceCleaner |
getStackTraceCleaner(StackTraceCleaner defaultCleaner)
Allows configuring custom StackTraceCleaner.
|
StackTraceCleaner getStackTraceCleaner(StackTraceCleaner defaultCleaner)
defaultCleaner
- - Mockito's default StackTraceCleaner