Exemple #1
0
 /// <summary>
 /// Asserts the status code of the response
 /// </summary>
 /// <param name="request">The Solid.Http request</param>
 /// <param name="statusCode">The expected status code</param>
 /// <returns>The fluent assertion</returns>
 public static Assertion ShouldRespondWith(this ISolidHttpRequest request, HttpStatusCode statusCode)
 {
     return(request.ShouldRespondWith((int)statusCode));
 }