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
- insert pageRef.
- Test.setCurrentPage(pageRef);
- public ExtendedController(ApexPages StandardController cntrl) { }
- ApexPages.CurrentPage().getParameters().put('input\', 'TestValue');
- String nextPage - controller.save().getUrl();
Reveal Solution Next Question