Home
last modified time | relevance | path

Searched refs:AdditionalAnswers (Results 1 – 5 of 5) sorted by relevance

/external/mockito/src/test/java/org/mockitousage/stubbing/
DStubbingWithExtraAnswersTest.java9 import org.mockito.AdditionalAnswers;
30 … when(mock.objectReturningMethodNoArgs()).thenAnswer(AdditionalAnswers.returnsElementsOf(list)); in shouldWorkAsStandardMockito()
45 … when(mock.objectReturningMethodNoArgs()).thenAnswer(AdditionalAnswers.returnsElementsOf(list)); in shouldReturnNullIfNecessary()
57 AdditionalAnswers.returnsElementsOf(null); in shouldScreamWhenNullPassed()
DStubbingWithAdditionalAnswersTest.java8 import static org.mockito.AdditionalAnswers.answer;
9 import static org.mockito.AdditionalAnswers.answerVoid;
10 import static org.mockito.AdditionalAnswers.returnsArgAt;
11 import static org.mockito.AdditionalAnswers.returnsFirstArg;
12 import static org.mockito.AdditionalAnswers.returnsLastArg;
13 import static org.mockito.AdditionalAnswers.returnsSecondArg;
DStubbingWithDelegateVarArgsTest.java6 import static org.mockito.AdditionalAnswers.delegatesTo;
DStubbingWithDelegateTest.java20 import static org.mockito.AdditionalAnswers.delegatesTo;
/external/mockito/src/main/java/org/mockito/
DAdditionalAnswers.java38 public class AdditionalAnswers { class