/// <summary> /// Initializes a new instance of the <see cref="HttpResponseMockMessage"/> class. /// </summary> /// <param name="httpResponseMock"> /// The mock that provides data. /// </param> public HttpResponseMockMessage(HttpResponseMock httpResponseMock) { mock = httpResponseMock; content = new HttpResponseMockContent(mock); }
/// <summary> /// Initializes a new instance of the <see cref="HttpResponseMockMessage"/> class. /// Contain OK(200) status code, an empty reason phrase and an empty content. /// </summary> public HttpResponseMockMessage() { mock = new HttpResponseMock(); content = new HttpResponseMockContent(mock); }