Searched defs:thenReturn (Results 1 - 4 of 4) sorted by relevance

/external/mockito/src/org/mockito/internal/stubbing/
H A DBaseStubbing.java15 public OngoingStubbing<T> thenReturn(T value) { method in class:BaseStubbing
19 public OngoingStubbing<T> thenReturn(T value, T... values) { method in class:BaseStubbing
20 OngoingStubbing<T> stubbing = thenReturn(value);
22 return stubbing.thenReturn(null);
25 stubbing = stubbing.thenReturn(v);
/external/mockito/src/org/mockito/stubbing/
H A DOngoingStubbing.java14 * <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); method in interface:OngoingStubbing
54 * when(mock.someMethod()).thenReturn(1, 2, 3);
66 OngoingStubbing<T> thenReturn(T value, T... values); method in interface:OngoingStubbing
/external/dexmaker/lib/
H A Dmockito-core-1.9.1-SNAPSHOT.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/mockito/ org/mockito/asm/ org/mockito/asm/signature/ ...
/external/robolectric/lib/test/
H A Dmockito-core-1.8.5.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/mockito/ org/mockito/asm/ org/mockito/asm/signature/ ...

Completed in 80 milliseconds