1.

____________ expect the last invocation a specified number of times.(a) times(int count)(b) times(int min, int max)(c) once()(d) asStub()The question was posed to me by my college professor while I was bunking the class.The query is from Putting Ant to The Task topic in chapter Running JUnit Tests from Ant of JUnit

Answer»

The CORRECT choice is (a) times(int COUNT)

For explanation I would SAY: times (int count) specifies the number of times to expect the last invocation via the count ARGUMENT.



Discussion

No Comment Found

Related InterviewSolutions