Interface | Description |
---|---|
Answer<T> |
Generic interface to be used for configuring mock's answer.
|
Answer1<T,A> |
One parameter function which returns something
|
Answer2<T,A,B> |
Two parameter function which returns something
|
Answer3<T,A,B,C> |
Three parameter function which returns something
|
Answer4<T,A,B,C,D> |
Three parameter function which returns something
|
Answer5<T,A,B,C,D,E> |
Three parameter function which returns something
|
OngoingStubbing<T> |
Simply put: "When the x method is called then return y".
|
Stubber |
Allows to choose a method when stubbing in doThrow()|doAnswer()|doNothing()|doReturn() style
|
VoidAnswer1<A> |
One parameter void function
|
VoidAnswer2<A,B> |
Two parameter void function
|
VoidAnswer3<A,B,C> |
Two parameter void function
|
VoidAnswer4<A,B,C,D> |
Two parameter void function
|
VoidAnswer5<A,B,C,D,E> |
Two parameter void function
|