This project is read-only.

Note: The most up to day fork of this is now on GitHub:

SystemWrapper Library

SystemWrapper is a library that wraps .NET classes for system resources like System.IO.FileInfo, System.Reflection.Assembly, and many other classes so you can easily mock them.


When writing unit tests, we don't want to actually depend on resources such as files, databases, registry entries, ... . Many .NET classes don't implement interfaces, so it's not easy to mock them. In many cases developers just wrap these classes in their own classes, so they can easily mock. The idea behind this project is to provide developers with the reusable wrapper classes.

Getting Started
Classes you can mock today

Last edited Mar 10, 2016 at 8:10 PM by Rhyous, version 9