ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 117 - Certified Platform Developer II discussion

Report
Export

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.)

A.
Surround the callout with TeststartTest(), Test.stopTest()
Answers
A.
Surround the callout with TeststartTest(), Test.stopTest()
B.
Surround the data insertion with Test.startTest(), Test.stopTest()
Answers
B.
Surround the data insertion with Test.startTest(), Test.stopTest()
C.
Implement the WebServiceMock interface
Answers
C.
Implement the WebServiceMock interface
D.
Update code to call Test.setMock()
Answers
D.
Update code to call Test.setMock()
E.
Implement the HttpCalloutMock interface
Answers
E.
Implement the HttpCalloutMock interface
Suggested answer: A, C, D
asked 23/09/2024
Demilson Mantegazine
37 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first