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 SOQL to query the org for the required data.
C . Use Test.Loaddata () and reference a static resource.
D . Use Test.Loaddata () and reference a CSV file

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