Exam PDII Topic 3 Question 43 Discussion
Actual exam question for Salesforce's PDII exam
Question #: 43
Topic #: 3
Question #: 43
Topic #: 3
What is the optimal way to fix this?
Suggested Answer: C Vote an answer
Test.startTest() and Test.stopTest() should wrap the method call for resource allocation. Test.setMock() sets a mock callout for the test to handle callouts.References: Apex Developer Guide - Testing HTTP Callouts
by Jason at May 28, 2026, 08:20 AM
0
0
0
10
Comments
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Report Comment
Commenting
You can sign-up / login (it's free).