1.

__________________ creates a mock object, of the requested type and name which are passed, which also has implementations of the given interface or extends the given class.(a) createMock(Class toMock)(b) createMock(MockType type, Class toMock)(c) createMock(String name, Class toMock)(d) createMock(String name, MockType type, Class toMock)This question was addressed to me in my homework.Question is from Ant topic in division Running JUnit Tests from Ant of JUnit

Answer» RIGHT option is (d) createMock(String name, MockType type, Class toMock)

To explain I would say: The name is PASSED as a parameter in the FUNCTION definition.


Discussion

No Comment Found

Related InterviewSolutions