public static interface BDDMockito.BDDStubber
Stubber
Modifier and Type | Method and Description |
---|---|
<T> T |
given(T mock)
See original
Stubber.when(Object) |
BDDMockito.BDDStubber |
willAnswer(Answer answer)
See original
Stubber.doAnswer(Answer) |
BDDMockito.BDDStubber |
willCallRealMethod()
See original
Stubber.doCallRealMethod() |
BDDMockito.BDDStubber |
willNothing()
See original
Stubber.doNothing() |
BDDMockito.BDDStubber |
willReturn(Object toBeReturned)
See original
Stubber.doReturn(Object) |
BDDMockito.BDDStubber |
willThrow(Class<? extends Throwable> toBeThrown)
See original
Stubber.doThrow(Class) |
BDDMockito.BDDStubber |
willThrow(Throwable toBeThrown)
See original
Stubber.doThrow(Throwable) |
BDDMockito.BDDStubber willAnswer(Answer answer)
Stubber.doAnswer(Answer)
BDDMockito.BDDStubber willNothing()
Stubber.doNothing()
BDDMockito.BDDStubber willReturn(Object toBeReturned)
Stubber.doReturn(Object)
BDDMockito.BDDStubber willThrow(Throwable toBeThrown)
Stubber.doThrow(Throwable)
BDDMockito.BDDStubber willThrow(Class<? extends Throwable> toBeThrown)
Stubber.doThrow(Class)
BDDMockito.BDDStubber willCallRealMethod()
Stubber.doCallRealMethod()
<T> T given(T mock)
Stubber.when(Object)
Mockito, MIT License