I am trying to write a unit test for my one controller to verify if a view was returned properly, but this controller has a basecontroller that accesses the HttpContext.Curr
You should probably use an ActionFilter instead of a base class for this sort of thing
[UserIdBind] public class IndexController : Controller { public ActionResult Index() { return View("Index.aspx"); } }