Winter Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: bigdisc65

Free CRT-450 Salesforce Updates

Page: 13 / 12
Question 52

A developer wants to get access to the standard price book in the org while writing a test class that covers an OpportunitylLineltem trigger.

Which method allows access to the price book?

Options:

A.

Use @IaTest (SeeAllData=true) and delete the existing standard price book,

B.

Use Test.loadData() and a static resource to load a standard price book,

C.

Use @TestVisible to allow the test method to see the standard price book.

D.

Use Teat.getStandardPricebookId() to get the standard price book 1D.

Page: 13 / 12
Exam Code: CRT-450
Exam Name: Salesforce Certified Platform Developer I (SU24)
Last Update: Nov 21, 2024
Questions: 174
CRT-450 pdf

CRT-450 PDF

$28  $80
CRT-450 Engine

CRT-450 Testing Engine

$33.25  $95
CRT-450 PDF + Engine

CRT-450 PDF + Testing Engine

$45.5  $130