net-mvc unit-testing moq session-variables or ask your own question. Mock HttpContext. Then in my unit tests I create an instance of the mock Httpcontext.
確定! 回上一頁