How should a developer write unit tests for a private method in an Apex class?

How should a developer write unit tests for a private method in an Apex class?
A . Use the SeeAllData annotation.
B . Add a test method in the Apex class.
C . Use the TestVisible annotation.
D . Mark the Apex class as global.

Answer: C

Latest PDI Dumps Valid Version with 191 Q&As

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

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments