// TODO when we integrate Owin.Session's using cookies and whatnot, this should reset the session public MockSession ResetSession() { LastRequest = null; LastResponse = null; return(this); }
// TODO when we integrate Owin.Session's using cookies and whatnot, this should reset the session public MockSession ResetSession() { LastRequest = null; LastResponse = null; return this; }
public MockResponse GetResponse(MockRequest request) { LastRequest = request; LastResponse = new MockResponse(Application.Invoke(App, request)); return(LastResponse); }
public MockResponse GetResponse(MockRequest request) { LastRequest = request; LastResponse = new MockResponse(Application.Invoke(App, request)); return LastResponse; }