1.

____________ creates a control of the requested type.(a) createControl()(b) createControl(MockType type)(c) createNiceControl()(d) createNiceMock(Class toMock)I have been asked this question by my school principal while I was bunking the class.This key question is from Ant Targets, Projects, Properties and Tasks topic in chapter Running JUnit Tests from Ant of JUnit

Answer» CORRECT answer is (B) createControl(MockType type)

Explanation: createControl(MockType type) RETURNS an ImocksControl OBJECT.


Discussion

No Comment Found

Related InterviewSolutions