Searched refs:AdditionalAnswers (Results 1 – 5 of 5) sorted by relevance
9 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()
8 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;
6 import static org.mockito.AdditionalAnswers.delegatesTo;
20 import static org.mockito.AdditionalAnswers.delegatesTo;
38 public class AdditionalAnswers { class