MapPath would require an underlying virtual directory provider which would not exist during the unit test. 1. Mocking the HttpContext Session object in ASP.
確定! 回上一頁