Search In This Blog

2018-01-19

Salesforce Credentials Exam Sample

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. How should the developer enable this functionality?

Choose 3 answers.

A:Surround the callout with Test.startTest(), Test.stopTest()
B:Surround the data insertion with Test.startTest(), Test.stopTest()
C:Implement the WebServiceMock interface
D:Update code to call Test.setMock()
E:Implement the HttpCalloutMock interface
The Answer is A,C,D.