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 I
E . Use @IsTest (SeeAllData=True) and delete the existing standard price book

Answer: C

Latest PDI Dumps Valid Version with 191 Q&As

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

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments