Sail E0 Webinar
Question
__________________ 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.
Options:
A .  createMock(Class toMock)
B .  createMock(MockType type, Class toMock)
C .  createMock(String name, Class toMock)
D .  createMock(String name, MockType type, Class toMock)
Answer: Option D


The name is passed as a parameter in the function definition.



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers