In some cases, you need to write unit tests that will access an HttpContext. Fortunately MsTest provides you with some functionality to achieve this.
We'll see here how we can do that, but also a best practice to have a test that will work on any computer and on the build server, without any special configuration needed.
[Plus]