Notifications
Clear all
Topic starter
31/10/2022 8:52 pm
A developer needs test data for Apex test classes.
What can the developer use to provide test data to the test methods? (Choose two.)
- A . List<sObject> Is = Test.loadData (Lead.sObjectType, fmyTestLeads f);
- B . myDataFactory.createTestRecords (10)
- C . Database.createTestRecords (10)
- D . List<sObject> Is = Test.loadDat (Lead.sObjectType, $Resource + 'myTestLeads f);
Suggested Answer: A,B