In the unit tests we mock the IHttpContextAccessor type and when the Session property is called we tell it to return another mocked ISession instance.
確定! 回上一頁