How can a test class access the private members of another class ?
Answer / Mintu Kumar
In Salesforce Apex, you cannot directly access private members of another class from a test class. However, you can write unit tests that create instances of the class under test and call its public methods to verify their behavior.
| Is This Answer Correct ? | 0 Yes | 0 No |
What happens to detail record when a master record is deleted? What happens to child record when a parent record is deleted?
What is the self-service portal?
Do we need a namespace to develop lightning components ? : salesforce lightning component
What is a permission set?
What is the difference between role and profile in salesforce ?
Is there is any option to specify time zone for uploading records in apex data loader? : salesforce Data Management
What are lightning components?
What is a governor limit in salesforce?
What is a sobject type?
I want to convert vf page to a pdf. How to achieve it?
Describe a use case when you’d control permissions through each of the following?
Is it possible to edit the process once it is activated? : salesforce process builder