示例#1
0
        public void GetHeaderValuesWithEmptyHeaders()
        {
            HttpHeaders headers = CreateHeaders();

            EnumerableAssert.AreEqual(Enumerable.Empty <string>(), HttpHeadersUtilities.GetHeaderValues(headers, "MOCK_HEADER_NAME"));
        }
示例#2
0
 public void GetHeaderValuesWithNullHeaders()
 {
     EnumerableAssert.AreEqual(Enumerable.Empty <string>(), HttpHeadersUtilities.GetHeaderValues(null, "MOCK_HEADER_NAME"));
 }