阅读背景:

用于单元测试。net核心MVC控制器的模拟HttpContext ?

来源:互联网 

I have a function in a controller that I am unit testing that expects values in the header of the http request. I can't initialize the HttpContext because it is readonly. I have a function in a controller that I am uni




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: