Interview Question
Qus: What is the purpose@TestVisible?
Answers (1)
For this reason we are compromising the security. To avoid this before the private variables in apex class we can include @TestVisible so that even though variable is private we can access from the test class.