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?

  1. @object
  2. @mock_object
  3. @object@mock
  4. @mock

Answer: D) @mock

Explanation:

@mock annotation is used to generate a mock class object.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.