@NotExtensible public interface LenientStubber extends BaseStubber
Mockito.lenient()
Modifier and Type | Method and Description |
---|---|
<T> OngoingStubbing<T> |
when(T methodCall)
Allows declaring the method to stub.
|
doAnswer, doCallRealMethod, doNothing, doReturn, doReturn, doThrow, doThrow, doThrow
<T> OngoingStubbing<T> when(T methodCall)
Mockito.when(Object)
.
Needed for classic stubbing with when().then()