What should be used to fix this falling test?
A developer wrote the following method to find all the test accounts in the org:

What should be used to fix this falling test?
A . Test. loaddata to set up expected data
B. Test. fixedSearchResults ( ) method to set up expected data
C. @isTest (See AllData=true) to access org data for the test
D. @testSetup method to set up expected data
Answer: C
Latest PDII Practice Questions with 280 Q&As
Updated Study Material | Instant Download | Detailed Answers and Explanations
Ans is D