What can the developer do to ensure that the private methods can be accessed by the test class?
A developer creates an Apex class that includes private methods.
What can the developer do to ensure that the private methods can be accessed by the test class?
A . Add the TestVisible attribute to the Apex class
B . Add the SeeAllData attribute to the test methods.
C . Add the TestVisible attribute to the apex methods.
D . Add the SeeAllData attribute to the test class
Answer: C
Latest DEX-450 Practice Questions with 456 Q&As
Updated Study Material | Instant Download | Detailed Answers and Explanations
Subscribe
Login
0 Comments