Home | History | Annotate | Download | only in mockito

Lines Matching full:stubbing

7 import org.mockito.internal.stubbing.answers.ReturnsArgumentAt;
8 import org.mockito.internal.stubbing.answers.ReturnsElementsOf;
9 import org.mockito.internal.stubbing.defaultanswers.ForwardsInvocations;
10 import org.mockito.stubbing.Answer;
35 * <code>then|do|will{@link org.mockito.stubbing.Answer}</code> methods. For example :
55 * <code>then|do|will{@link org.mockito.stubbing.Answer}</code> methods. For example :
75 * <code>then|do|will{@link org.mockito.stubbing.Answer}</code> methods. For example :
95 * <code>then|do|will{@link org.mockito.stubbing.Answer}</code> methods. For example :
135 * those calls are <strong>not</strong> remembered for verifications, stubbing does not have effect on them, too.
151 * The mock will call the delegate if you use regular when().then() stubbing style.
153 * Therefore you should to use the doReturn|Throw|Answer|CallRealMethod stubbing style. Example:
161 * //You have to use doReturn() for stubbing