Salesforce
CRT-450 · Question #22
CRT-450 Question #22: Real Exam Question with Answer & Explanation
Sign in or unlock CRT-450 to reveal the answer and full explanation for question #22. The question stem and answer options stay visible for context.
Question
A developer has a single custom controller class that works with a Visualforce Wizard to support creating and editing multiple subjects. The wizard accepts data from user inputs across multiple Visualforce pages and from a parameter on the initial URL. Which three statements are useful inside the unit test to effectively test the custom controller? Choose 3 answers
Options
- Ainsert pageRef.
- BTest.setCurrentPage(pageRef);
- Cpublic ExtendedController(ApexPages StandardController cntrl) { }
- DApexPages.CurrentPage().getParameters().put('input', 'TestValue');
- EString nextPage -controller.save().getUrl();
Unlock CRT-450 to see the answer
You've previewed enough free CRT-450 questions. Unlock CRT-450 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.