Salesforce
CRT-450 · Question #60
Which scenario is valid for execution by unit tests?
The correct answer is B. Set the created date of a record using a system method. See the full explanation below for the reasoning.
Question
Which scenario is valid for execution by unit tests?
Options
- ALoad data from a remote site with a callout.
- BSet the created date of a record using a system method.
- CExecute anonymous Apex as a different user.
- DGenerate a Visualforce PDF with geccontentAsPDF ().
How the community answered
(54 responses)- A2% (1)
- B80% (43)
- C6% (3)
- D13% (7)
Community Discussion
No community discussion yet for this question.