Exam4Training

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 Dumps Valid Version with 456 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Exit mobile version