HomeSort by relevance Sort by last modified time
    Searched refs:thenAnswer (Results 1 - 7 of 7) sorted by null

  /external/mockito/src/org/mockito/internal/stubbing/
ConsecutiveStubbing.java 18 public OngoingStubbing<T> thenAnswer(Answer<?> answer) {
24 return thenAnswer(answer);
BaseStubbing.java 16 return thenAnswer(new Returns(value));
31 return thenAnswer(new ThrowsException(throwable));
50 return thenAnswer(new ThrowsExceptionClass(throwableClass));
69 return thenAnswer(new CallsRealMethods());
OngoingStubbingImpl.java 23 public OngoingStubbing<T> thenAnswer(Answer<?> answer) {
33 return thenAnswer(answer);
  /external/mockito/src/org/mockito/stubbing/
OngoingStubbing.java 150 * when(mock.someMethod(10)).thenAnswer(new Answer&lt;Integer&gt;() {
161 OngoingStubbing<T> thenAnswer(Answer<?> answer);
166 * This method is an alias of {@link #thenAnswer(Answer)}. This alias allows
172 * //versus good old 'thenAnswer:
173 * when(mock.foo()).thenAnswer(byReturningCoolValue());
179 * @see #thenAnswer(Answer)
  /external/mockito/src/org/mockito/
BDDMockito.java 67 * See original {@link OngoingStubbing#thenAnswer(Answer)}
127 return new BDDOngoingStubbingImpl<T>(mockitoOngoingStubbing.thenAnswer(answer));
  /external/robolectric/lib/test/
mockito-core-1.8.5.jar 
  /external/dexmaker/lib/
mockito-core-1.9.1-SNAPSHOT.jar 

Completed in 50 milliseconds