1.5.2. Accessing protected elements

Usually you will protect internal members in your classes. Variables should almost always be private, in rare cases protected. So they are out of reach for your testing code. Methods on the other hand may

1.5.2.1. Lifting class members

One of the simplest methods to

1.5.2.2. Replacing class member