In my previous post I mentioned the PrivateObject class to call private fields or properties in unit tests. PrivateObject expects a string to specify the name of the private member. What bothers me about this approach is that you have to change all the usages of the string if you rename the private property. I […]