public void When_formatting_single_header_should_return_human_readable_representation()
        {
            string expectedText = "Headers: header-name: header-value";

            _sut = new HttpHeadersMatcher("header-name", "header-value");

            // Act
            string displayText = _sut.ToString();

            // Assert
            displayText.Should().Be(expectedText);
        }
        public void When_formatting_multiple_headers_should_return_human_readable_representation()
        {
            string expectedText = $"Headers: Content-Type: text/plain{Environment.NewLine}Accept: text/plain, text/html";
            var    headers      = new HttpHeadersCollection
            {
                { "Content-Type", "text/plain" },
                { "Accept", new[] { "text/plain", "text/html" } }
            };

            _sut = new HttpHeadersMatcher(headers);

            // Act
            string displayText = _sut.ToString();

            // Assert
            displayText.Should().Be(expectedText);
        }