public FakeHttpContext(FakeHttpRequest request, FakeHttpResponse response) { _response = response; _request = request; _request._context = this; _response._context = this; _cache = new Cache(); _allErrors = new Exception[0]; _items = new Hashtable(); User = new GenericPrincipal(new GenericIdentity(string.Empty),new string[0]); }
public FakeHttpContext(FakeHttpRequest request) : this(request,new FakeHttpResponse()) { }