Community

Mocking Internal Types with Moq

To perform successful unit testing classes should be isolated from their dependencies. When the dependencies are internal and tests are in a separate project, this can be achieved using a combination of Moq and C# friend assemblies.

Read More - Register for Free Membership