The HttpContext on the controller is an instance of HttpContextBase and can be mocked in unit tests. Hide Copy Code The key to unit testing an ApiController ...
確定! 回上一頁