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.loadData < > and reference a CSV file in a static resource.
C . Use SOQL to query the org for the required data.
D . Use Test.loadData and reference a JSON file in Documents.
Answer: B
Latest CRT-450 Practice Questions with 372 Q&As
Updated Study Material | Instant Download | Detailed Answers and Explanations
Subscribe
Login
0 Comments