public static interface BDDMockito.BDDStubber
Stubber
BDDMockito.BDDStubber willAnswer(Answer<?> answer)
BaseStubber.doAnswer(Answer)
BDDMockito.BDDStubber will(Answer<?> answer)
BaseStubber.doAnswer(Answer)
@Deprecated BDDMockito.BDDStubber willNothing()
willDoNothing()
insteadBaseStubber.doNothing()
.
This method will be removed in version 4.0.0BDDMockito.BDDStubber willDoNothing()
BaseStubber.doNothing()
BDDMockito.BDDStubber willReturn(Object toBeReturned)
BaseStubber.doReturn(Object)
BDDMockito.BDDStubber willReturn(Object toBeReturned, Object... nextToBeReturned)
BaseStubber.doReturn(Object)
BDDMockito.BDDStubber willThrow(Throwable... toBeThrown)
BaseStubber.doThrow(Throwable...)
BDDMockito.BDDStubber willThrow(Class<? extends Throwable> toBeThrown)
BaseStubber.doThrow(Class)
BDDMockito.BDDStubber willThrow(Class<? extends Throwable> toBeThrown, Class<? extends Throwable>... nextToBeThrown)
BaseStubber.doThrow(Class, Class[])
BDDMockito.BDDStubber willCallRealMethod()
BaseStubber.doCallRealMethod()
<T> T given(T mock)
Stubber.when(Object)