How should a develo...
 
Notifications
Clear all

How should a developer verify that a specific Account record is being tested in a test class for a visualforce controller?

1 Posts
1 Users
0 Likes
154 Views
 Man
(@shortinoman)
Noble Member
Joined: 2 years ago
Posts: 733
Topic starter  

How should a developer verify that a specific Account record is being tested in a test class for a visualforce controller?

  • A . Insert the Account in the test class, instantiate the page reference in the test class, then use System.currentPageReference().getParameters{}.put() to set the Account I
  • C . Instantiate the page reference in the test class, insert the Account in the test class, then use seeAHData-true to view the Account.
  • D . Insert the Account into Salesforce, instantiate the page reference in the test class, then use System.setParentRecordId().get() to set the Account I
  • F . Instantiate the page reference in the test class, insert the Account in the test class, then use System.setParentRecordld().get() to set the Account I

Show Answer Hide Answer

Suggested Answer: A

   
Quote

Latest Salesforce PDII Dumps Valid Version

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund
Share: