InterviewSolution
Saved Bookmarks
| 1. |
_____________ expects the last invocation once.(a) andVoid()(b) times(int min, int max)(c) once()(d) asStub()I got this question in unit test.I want to ask this question from Putting Ant to The Task in portion Running JUnit Tests from Ant of JUnit |
|
Answer» CORRECT OPTION is (c) once() Easiest explanation: This is the DEFAULT in EASYMOCK. |
|