/// <summary> /// Tests whether the content of the HTTP response message is the provided string. /// </summary> /// <param name="content">Expected string content.</param> /// <returns>The same HTTP response message test builder.</returns> public IAndHttpResponseMessageTestBuilder WithContent(string content) { HttpResponseMessageValidator.WithStringContent( this.httpResponseMessage.Content, content, this.ThrowNewHttpResponseMessageAssertionException); return(this); }