_____________ sets a stub object that will be used for the calculation of the answer for the expected invocation.

Question:_____________ sets a stub object that will be used for the calculation of the answer for the expected invocation.

1.andAnswer(IAnswer<? extends T>answer)

2.andDelegateTo(Object delegateTo)

3.andStubAnswer(IAnswer<? extends T> answer)

4.andThrow(Throwable throwable)


Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!