PDI Exam Question 16

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
  • PDI Exam Question 17

    Universal Containers recently transitioned from Classic to Lighting Experience. One of its business processes requires certain value from the opportunity object to be sent via HTTP REST callout to its external order management system based on a user-initiated action on the opportunity page. Example values are as follow Name Amount Account Which two methods should the developer implement to fulfill the business requirement? (Choose 2 answers)
  • PDI Exam Question 18

    What are three ways for a developer to execute tests in an org? Choose 3.
  • PDI Exam Question 19

    A developer wrote Apex code that calls out to an external system. How should a developer write the test to provide test coverage?
  • PDI Exam Question 20

    Which scenario is valid for execution by unit tests?