コード例 #1
0
 /// <summary>
 /// Testuje, či fráza odôvodnenia správy HTTP je rovnaká ako fráza poskytnutá dôvodom ako reťazec.
 /// </summary>
 /// <param name="reasonPhrase">Expected reason phrase as string.</param>
 /// <returns>The same HTTP response message test builder.</returns>
 public IAndHttpHandlerResponseMessageTestBuilder ValidWithReasonPhrase(string reasonPhrase)
 {
     HttpResponseMessageValidator.ValidWithReasonPhrase(this.httpResponseMessage, reasonPhrase, this.ThrowNewHttpResponseMessageAssertionException);
     return(this);
 }