InterviewSolution
Saved Bookmarks
| 1. |
______________ creates a mock object that implements the given interface with the specification is that order checking is disabled by default.(a) createMock(Class toMock)(b) createMock(MockType type, ClasstoMock)(c) createMock(String name, Class toMock)(d) createMock(String name, MockType type, Class toMock)The question was asked in exam.Asked question is from Ant topic in portion Running JUnit Tests from Ant of JUnit |
|
Answer» CORRECT option is (c) createMock(STRING NAME, Class Easiest EXPLANATION: The type PARAMETER is the interface that the mock object should implement. |
|