What is the proper process for an Apex Unit Test

What is the proper process for an Apex Unit Test
A . Query for test data using SeeAllData = true. Call the method being tested. Verify that the results are correct.
B . Query for test data using SeeAllData = true. Execute runAllTests(). Verify that the results are correct.
C . Create data for testing. Execute runAllTests(). Verify that the results are correct.
D . Create data for testing. Call the method being tested. Verify that the results are correct.

Answer: D

Latest DEX-450 Practice Questions with 456 Q&As

Updated Study Material | Instant Download | Detailed Answers and Explanations

Subscribe
Notify of
guest
0 Comments