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 PDII Topic 7 Question 3 Discussion

Actual exam question for Salesforce's Platform Developer II exam
Question #: 3
Topic #: 7
[All Platform Developer II Questions]

An Apex class does not achieve expected code coverage. The testSetup method explicitly calls a method in the Apex class. How can the developer generate the code coverage?

Show Suggested Answer Hide Answer
Suggested Answer: D

Contribute your Thoughts:

Sandip Mondal
1 months ago
For code coverage, method of a class should be invoked from a testMethod instead of testSetup. testSetup is used to setup test data in a test class
upvoted 1 times
Sandip Mondal
1 months ago
Answer here should be C
upvoted 1 times
...
...

Save Cancel