org.mockito
@Incubating public interface MockitoFramework
Modifier and Type | Method and Description |
---|---|
void |
setStubbingListener(StubbingListener listener)
Sets new
StubbingListener . |
@Incubating void setStubbingListener(StubbingListener listener)
StubbingListener
.
null
is permitted and removes any previously set listener.
If you set the stubbing listener, ensure that you have cleared it afterwards.
See examples in Mockito codebase how setStubbingListener(StubbingListener)
is used.