In testing your device, you really do not need to check anything that is private to the class. Private, internal only known members are part of the class implementation, and not part of its exposed (and verified) functionality.
Basically, think of the externally visible members of the class as its "contract." This determines its actual type, which sees everything else. And this is proven functionality. Internal (private) members are not known outside the class for a very good reason; another class may implement the same βcontractβ (or interface) differently with different private members.
What you are testing is visible functionality, a contract, or an interface.
David
source share