HttpTest Class |
This extends Flurl's the appropriate HttpMessageHandler in unit tests. If you use the default HttpTest, then any tests which rely upon authentication handling (e.g retrying a request when a token expires) will fail.
Namespace: Rackspace.Testing
The HttpTest type exposes the following members.
Name | Description | |
---|---|---|
CallLog | (Inherited from HttpTest.) | |
ResponseQueue | (Inherited from HttpTest.) |
Name | Description | |
---|---|---|
Dispose | (Inherited from HttpTest.) | |
RespondWith(String) | (Inherited from HttpTest.) | |
RespondWith(Int32, String) | (Inherited from HttpTest.) | |
RespondWithJson(Object) | (Inherited from HttpTest.) | |
RespondWithJson(Int32, Object) | (Inherited from HttpTest.) | |
ShouldHaveCalled | (Inherited from HttpTest.) | |
ShouldNotHaveCalled | (Inherited from HttpTest.) | |
SimulateTimeout | (Inherited from HttpTest.) |