System.Net.WebHeaderCollectionTests.WebHeaderCollectionTest.DefaultPropertyValues_ReturnEmptyAfterConstruction_Success C# (CSharp) Method

DefaultPropertyValues_ReturnEmptyAfterConstruction_Success() private method

        public void DefaultPropertyValues_ReturnEmptyAfterConstruction_Success()
        {
            WebHeaderCollection w = new WebHeaderCollection();
            Assert.Equal(0, w.AllKeys.Length);
            Assert.Equal(0, w.Count);
            Assert.Equal("\r\n", w.ToString());
            Assert.Empty(w);
            Assert.Empty(w.AllKeys);
        }
WebHeaderCollectionTest