Salesforce
PDII · Question #254
A developer has a Visualforce page that automatically assigns ownership of an Account to a queue upon save. The page appears to correctly assign ownership, but an assertion validating the correct…
Sign in or unlock PDII to reveal the answer and full explanation for question #254. The question stem and answer options stay visible for context.
Question
A developer has a Visualforce page that automatically assigns ownership of an Account to a queue upon save. The page appears to correctly assign ownership, but an assertion validating the correct ownership fails. What can cause this problem?
Options
- AThe test class does not use the Bulk API for loading test data.
- BThe test class does not use the seeAllData=true annotation.
- CThe test class does not retrieve the updated value from the database.
- DThe test class does not implement the Queueable interface.
Unlock PDII to see the answer
You've previewed enough free PDII questions. Unlock PDII for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.