Searched refs:answersWithDelay (Results 1 – 2 of 2) sorted by relevance
15 import static org.mockito.AdditionalAnswers.answersWithDelay;62 … given(iMethods.objectArgMethod(any())).will(answersWithDelay(sleepyTime, returnsFirstArg())); in can_return_after_delay()
332 public static <T> Answer<T> answersWithDelay(long sleepyTime, Answer<T> answer) { in answersWithDelay() method in AdditionalAnswers