Searched refs:doAnswer (Results 1 – 7 of 7) sorted by relevance
1649 return MOCKITO_CORE.doAnswer(new ThrowsException(toBeThrown)); in doThrow()1670 return MOCKITO_CORE.doAnswer(new ThrowsExceptionClass(toBeThrown)); in doThrow()1706 return MOCKITO_CORE.doAnswer(new CallsRealMethods()); in doCallRealMethod()1731 public static Stubber doAnswer(Answer answer) { in doAnswer() method in Mockito1732 return MOCKITO_CORE.doAnswer(answer); in doAnswer()1774 return MOCKITO_CORE.doAnswer(new DoesNothing()); in doNothing()1824 return MOCKITO_CORE.doAnswer(new Returns(toBeReturned)); in doReturn()
248 return new BDDStubberImpl(mockitoStubber.doAnswer(answer)); in willAnswer()308 return new BDDStubberImpl(Mockito.doAnswer(answer)); in willAnswer()
114 Stubber doAnswer(Answer answer); in doAnswer() method
143 public Stubber doAnswer(Answer answer) { in doAnswer() method in MockitoCore146 return new StubberImpl().doAnswer(answer); in doAnswer()
57 public Stubber doAnswer(Answer answer) { in doAnswer() method in StubberImpl
35 import static com.google.testing.littlemock.LittleMock.doAnswer;741 doAnswer(new Callable<Boolean>() { in testDoAction_NormalOperation()753 doAnswer(new CallCapturedCallbackCallable()) in testComplexSituationWithCallback()768 doAnswer(new Callable<Void>() { in testDoAction_CanThrowDeclaredException()781 doAnswer(new Callable<Void>() { in testDoAction_CanThrowUndelcaredException()794 doAnswer(new Callable<Boolean>() { in testRunThisIsAnAliasForDoAction()1216 doAnswer(new Callable<String>() { in testDoAnswer_ThisShouldFailSinceStringIsNotAByte()1225 doAnswer(new Callable<String>() { in testDoAnswer_ThisShouldFailSinceStringIsNotAByte2()
129 public static <T> Behaviour doAnswer(final Callable<T> callable) {