public MockHttpContext() { this.HttpCookieCollection = new HttpCookieCollection(); this.MockRequest = new MockRequest(HttpCookieCollection); this.MockResponse = new MockResponse(HttpCookieCollection); }
public MockHttpContext() { cookies = new HttpCookieCollection(); this.request = new MockRequest(cookies); this.response = new MockResponse(cookies); }
public MockHttpContext() { cookies = new HttpCookieCollection(); //instantiate here instead of within request/response to allow same cookie to be used for both this.request = new MockRequest(cookies); this.response = new MockResponse(cookies); }
public MockHttpContext() //constructor to inicialize everything we need { cookies = new HttpCookieCollection(); this.request = new MockRequest(cookies); this.response = new MockResponse(cookies); }
public MockHttpContext() { _cookies = new HttpCookieCollection(); _response = new MockResponse(_cookies); _request = new MockRequest(_cookies); }
public MockHttpContext() { Cookies = new HttpCookieCollection(); MockRequest = new MockRequest(Cookies); MockResponse = new MockResponse(Cookies); }
public MockHttpContext() // constructor that initializes objects needed { cookies = new HttpCookieCollection(); // initializes cookie collection this.request = new MockRequest(cookies); // collection of cookies is injected this.response = new MockResponse(cookies); }