Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Salesforce Exam Development-Lifecycle-and-Deployment-Architect Topic 8 Question 8 Discussion

Actual exam question for Salesforce's Salesforce Certified Development Lifecycle and Deployment Architect exam
Question #: 8
Topic #: 8
[All Salesforce Certified Development Lifecycle and Deployment Architect Questions]

A developer on the Universal Containers team has written a test class to test a method

that involves a web service callout. Within the test class, the developer is supposed to load test

data, create an instance of the Mock object, set the Test.setMock() to that Mock object, call

startTest(), execute the code that makes the callout, call stopTest(), and compare the result with

expectations. Unfortunately, the

Developer forgot to use the Test.setMock() method step.

What would happen when the developer runs this test class?

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

Currently there are no comments in this discussion, be the first to comment!


Save Cancel