Faking Private Fields

The following sections explain how you can fake private fields.

When to Use

When private field of object or a class affects the unit test, and you need an access to this field.