Example #1
0
 /// <summary>
 /// Tests whether HTTP response message returns success status code between 200 and 299.
 /// </summary>
 /// <returns>The same HTTP response message test builder.</returns>
 public IAndHttpResponseMessageTestBuilder WithSuccessStatusCode()
 {
     HttpResponseMessageValidator.WithSuccessStatusCode(this.httpResponseMessage, this.ThrowNewHttpResponseMessageAssertionException);
     return(this);
 }