There is a large number of test units to make sure that access is proper from all angles: // Test public
External calls parent access Parent property (public, protected, and private)
External calls child access child property. "
External calls parent access child property. "
External calls child access parent property. "
There is a large number of test units to make sure that access is proper from all angles: // Test public External calls parent access Parent property (public, protected, and private) External calls child access child property. " External calls parent access child property. " External calls child access parent property. "
// test protected and private: Parent calls parent access Parent property (public, protected, and private) Parent calls child access child property. " Parent calls parent access child property. " Parent calls child access parent property. "
child calls parent access Parent property (public, protected, and private) child calls child access child property. " child calls parent access child property. " child calls child access parent property. "