Examers.io
ExamsOrganizationsHow it worksPricingHelp & FAQ
Salesforce logo

SalesforceCertified Platform Developer II

Domain 7Objective 3

Describe the Implications of Testing Visualforce Controllers and Controller Extensions. PLATFORM-DEVELOPER-II Practice Questions (Page 4)

Part of the TESTING domain, which accounts for 7% of the PLATFORM-DEVELOPER-II exam.

27questions here
6free pages
10concepts
7%of the exam

Questions 16–20

  1. 16foundation · easy

    In a test, how do you verify that a controller method returns a PageReference to a specific page?

    Select an answer first
  2. 17foundation · easy

    Which assertion method is used to verify that a condition is true in an Apex test?

    Select an answer first
  3. 18foundation · easy

    What is the role of a controller extension in Visualforce?

    Select an answer first
  4. 19foundation · easy

    What is the purpose of using Test.startTest() and Test.stopTest() in a controller test?

    Select an answer first
  5. 20foundation · easy

    What is the correct way to instantiate a standard Visualforce controller in a test?

    Select an answer first
Finished these 5 questions?

Review the revealed explanations, or continue through the curriculum.

Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by Salesforce. “PLATFORM-DEVELOPER-II” is a trademark of its owner, used for identification only.