Home
last modified time | relevance | path

Searched refs:answersWithDelay (Results 1 – 2 of 2) sorted by relevance

/external/mockito/src/test/java/org/mockitousage/stubbing/
DStubbingWithAdditionalAnswersTest.java15 import static org.mockito.AdditionalAnswers.answersWithDelay;
62 … given(iMethods.objectArgMethod(any())).will(answersWithDelay(sleepyTime, returnsFirstArg())); in can_return_after_delay()
/external/mockito/src/main/java/org/mockito/
DAdditionalAnswers.java332 public static <T> Answer<T> answersWithDelay(long sleepyTime, Answer<T> answer) { in answersWithDelay() method in AdditionalAnswers