MCQOPTIONS
Bookmark
Saved Bookmarks
→
Junit
→
Testing Development Cycle in Junit
→
_____________ expects the last invocation once...
1.
_____________ expects the last invocation once.
A.
andVoid()
B.
times(int min, int max)
C.
once()
D.
asStub()
Answer» D. asStub()
Show Answer
Discussion
No Comment Found
Post Comment
Related MCQs
_____________ expects the last invocation once.
_____________ records a call but returns nothing.
_______________ sets a stub object implementing the same interface as the mock.
_____________ sets a stub object that will be used for the calculation of the answer for the expected invocation.
____________ expect the last invocation a specified number of times.
_______________ expect the last invocation between min and max times.
______________ sets stub behavior for the expected invocation.
_____________ function expect the last invocation any times.
The __________ interface allows setting expectations for an associated expected invocation.
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply