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