nerdexam
Salesforce

PDII · Question #99

PDII Question #99: Real Exam Question with Answer & Explanation

Sign in or unlock PDII to reveal the answer and full explanation for question #99. The question stem and answer options stay visible for context.

Question

A developer is creating unit tests for code that makes SOAP web service callouts. The developer needs to insert some test data as a part of the unit tests setup. What are three actions to enable this functionality? (Choose three.)

Options

  • ASurround the callout with Test.startTest(), Test.stopTest()
  • BSurround the data insertion with Test.startTest(), Test.stopTest()
  • CImplement the WebServiceMock interface
  • DUpdate code to call Test.setMock()
  • EImplement the HttpCalloutMock interface

Unlock PDII to see the answer

You've previewed enough free PDII questions. Unlock PDII for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full PDII Practice