asp mvc unit test HttpContext.Current.Cache?
- by Paul Creasey
Here is the first part of my controller code:
public class ControlMController : Controller
{
IControlMService _controlMservice;
public IList<User> Users
{
get
{
if (System.Web.HttpContext.Current.Cache["users"] == null)
{
…