Home »
MCQs »
EasyMock MCQs
Which of the following annotation is used to generate a mock class object?
8. Which of the following annotation is used to generate a mock class object?
- @object
- @mock_object
- @object@mock
- @mock
Answer: D) @mock
Explanation:
@mock annotation is used to generate a mock class object.