While writing a test class that covers an OpportunityLineItem trigger, a Developer is unable to create a standard PriceBook since one already exists in the org.
How should the Developer overcome this problem?
A . Use Test.getStandardPricebookId() to get the standard PriceBook I
C . Use @IsTest(SeeAllData=true) and delete the existing standard PriceBook.
D . Use Test.loadData() and a Static Resource to load a standard Pricebook.
E . Use @TestVisible to allow the test method to see the standard PriceBook.
Answer: A
Latest PDI Dumps Valid Version with 191 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund