1.

________________ creates a mock builder allowing to create a partial mock for the given class or interface.(a) createMockBuilder(Class toMock)(b) createMock(Class toMock)(c) createNiceControl()(d) createNiceMock(Class toMock)I got this question in my homework.I would like to ask this question from Ant Targets, Projects, Properties and Tasks in portion Running JUnit Tests from Ant of JUnit

Answer»

The CORRECT answer is (a) createMockBuilder(Class toMock)

To ELABORATE: createMockBuilder(Class toMock) is the OLD VERSION of partialMockBuilder(Class), which is more completion FRIENDLY.



Discussion

No Comment Found

Related InterviewSolutions