Class TestScenarioResult
- Namespace
- XBullet.EasyTesting.Hosting
- Assembly
- XBullet.EasyTesting.dll
Owns the client and response produced by an executed test scenario.
public sealed class TestScenarioResult : IDisposable
- Inheritance
-
TestScenarioResult
- Implements
- Inherited Members
Properties
Response
Gets the HTTP response produced by the scenario.
public HttpResponseMessage Response { get; }
Property Value
- HttpResponseMessage
The response owned by this result. Disposing the result also disposes the response; callers must not use it afterward.
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
Should()
Starts a fluent assertion chain over the response.
public TestHttpResponseAssertions Should()
Returns
- TestHttpResponseAssertions
A new assertion wrapper over Response. The wrapper does not own or dispose the response.