What should the developer do to ensure the data is available to the test?

A developer needs to have records with specific field values in order to test a new Apex class.

What should the developer do to ensure the data is available to the test?
A . Use Anonymous Apex to create the required data.
B. Use Test.loadDataO < > and reference a CSV file in a static resource.
C. Use SOQL to query the org for the required data.
D. Use Test.loadDataO and reference a JSON file in Documents.

Answer: B

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