1.

_____________ returns the expectation setter for the last expected invocation in the current thread.(a) createControl()(b) createControl(MockType type)(c) createNiceControl()(d) expect(T value)The question was posed to me in unit test.My doubt is from Ant Targets, Projects, Properties and Tasks topic in division Running JUnit Tests from Ant of JUnit

Answer» CORRECT answer is (d) expect(T VALUE)

The EXPLANATION: The PARAMETER value is used to transport the type to the ExpectationSetter.


Discussion

No Comment Found

Related InterviewSolutions