How can I make session mock in integration test?
Here is example test method
[TestMethod]
public void Mvc_GetBlogsShouldBeOk()
{
// I need this
SessionMock.GetString("filter.name").Returns("David");
Client.GetAsync("/").Result.EnsureSuccessStatusCode();
}
Here is example test method
[TestMethod]
public void Mvc_GetBlogsShouldBeOk()
{
// I need this
SessionMock.GetString("filter.name").Returns("David");
Client.GetAsync("/").Result.EnsureSuccessStatusCode();
}