/// <summary> /// Tests whether HTTP response message reason phrase is the same as the provided reason phrase as string. /// </summary> /// <param name="reasonPhrase">Expected reason phrase as string.</param> /// <returns>The same HTTP response message test builder.</returns> public IAndHttpResponseMessageTestBuilder WithReasonPhrase(string reasonPhrase) { HttpResponseMessageValidator.WithReasonPhrase(this.httpResponseMessage, reasonPhrase, this.ThrowNewHttpResponseMessageAssertionException); return(this); }