Using Reflection to set the private field on a passed class
In unit testing I often want to check a private field has been set when running a test and I created the following helper method to do that: 1: /// <summary> 2: /// Set private field on … more