OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:thenReturn
(Results
1 - 3
of
3
) sorted by null
/external/mockito/src/org/mockito/stubbing/
OngoingStubbing.java
14
* <b>when</b>(mock.someMethod()).<b>
thenReturn
</b>(10);
17
* when(mock.someMethod(<b>anyString()</b>)).
thenReturn
(10);
23
* //Last stubbing (e.g:
thenReturn
("foo")) determines the behavior of further consecutive calls.
26
* .
thenReturn
("foo");
29
* when(mock.someMethod()).
thenReturn
(1,2,3);
40
* when(mock.someMethod()).
thenReturn
(10);
49
OngoingStubbing<T>
thenReturn
(T value);
54
* when(mock.someMethod()).
thenReturn
(1, 2, 3);
66
OngoingStubbing<T>
thenReturn
(T value, T... values);
/external/mockito/src/org/mockito/internal/stubbing/
BaseStubbing.java
15
public OngoingStubbing<T>
thenReturn
(T value) {
19
public OngoingStubbing<T>
thenReturn
(T value, T... values) {
20
OngoingStubbing<T> stubbing =
thenReturn
(value);
22
return stubbing.
thenReturn
(null);
25
stubbing = stubbing.
thenReturn
(v);
/external/dexmaker/lib/
mockito-core-1.9.1-SNAPSHOT.jar
Completed in 58 milliseconds