120121122123124125126127
mockitoStubber.addAnswerForVoidMethod(new ThrowsException(throwable)); return this; } public VoidMethodStubbable<T> toReturn() { mockitoStubber.addAnswerForVoidMethod(new DoesNothing()); return this; }
853854855856857858859
* </pre> * * @return stubber - to select a method for stubbing */ public static Stubber doNothing() { return doAnswer(new DoesNothing()); }
804805806807808809810
134135136137138139140141
984985986987988989990
130131132133134135136137