Salesforce Platform Developer I (legacy) — Question 36
Which feature allows a developer to create test records for use in test classes?
Answer options
- A. Documents
- B. WebServiceTests
- C. HttpCalloutMocks
- D. Static Resources
Correct answer: D
Explanation
The correct answer is D, Static Resources, as it allows developers to create and store test data that can be referenced in test classes. The other options do not provide the functionality to generate test records specifically for testing purposes.