Salesforce Certified Platform Developer II (Plat-Dev-301) PDII Question # 52 Topic 6 Discussion

Salesforce Certified Platform Developer II (Plat-Dev-301) PDII Question # 52 Topic 6 Discussion

PDII Exam Topic 6 Question 52 Discussion:
Question #: 52
Topic #: 6

PDII Question 52

What should be added to the setup, in the location indicated, for the unit test above to create the controller extension for the test?


A.

ApexPages.Standardcontroller sc = new ApexPages. Standardcontroller (acct.Id) ;

AccountControllerExt extension = new AccountControllerExt(sc) ;

om


B.

AccountControllerExt extension = new AccountControllerExt (acct);


C.

ApexPages.StandardController sc = new ApexPages.StandardController(acct);

AccountcontrollerExt extension = new AccountControllerExt(sc);


D.

AccountControllerExt extension = new AccountControllerExt (acct.Id) ;


Get Premium PDII Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.