首页 > 带有HttpContext.Current的代码怎么单元测试?
在单元测试中没有HttpContext.Current的.如果用Mock的话,它只能mock抽象类.
HttpContext 就是个map