Activity Forums Salesforce® Discussions how to cover private method in test class ?

  • Anjali

    Member
    August 27, 2020 at 2:35 pm

    Use the TestVisible annotation to allow test methods to access private or protected members of another class outside the test class. These members include methods, member variables, and inner classes. This annotation enables a more permissive access level for running tests only.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos