Unit Testing - Reflection-based Invocation

For each class that is being unit tested, Visual Studio Team System automatically generates an accessor class that acts as a proxy to the class being tested. This accessor class uses reflection to invoke the methods of the class being tested, which allows you to access any method, property, or field, regardless of its access level, as though it were public. This approach allows Visual Studio Team System to generate unit test source code that is very readable and approachable.

Automatically generated accessor