Which method allows access to the price book?

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

Which method allows access to the price book?
A . Use Test.loadData ( )and a static resource to load a standard price book
B . Use @TestVisible to allow the test method to see the standard price book.
C . Use Test,getStandardPricebookid ( ) to get the standard price book ID.
D . Use @IsTest (SeeAllData=True) and delete the existing standard price book

Answer: C

Latest CRT-450 Dumps Valid Version with 372 Q&As

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

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments