'Cannot use 'HttpResponseBase' in unit tests class

I am trying to use HttpResponseBase in my unit tests class and create a mock out of it:

    var response = new Mock<HttpResponseBase>();

I've imported System.Web of course, yet still it cannot be found. I am using .net framework 4.5.2. I saw similar issues but I couldn't get solutions works for me. Thanks



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source