public void Initialising_Dictonary_To_Null_Array_Produces_Null_Results()
        {
            _Headers = new HeadersDictionary(null);

            Assert.IsNull(_Headers[_Key]);
            Assert.IsNull(_Headers.Get(_Key));
            Assert.IsNull(_Headers.GetValues(_Key));
            Assert.IsNull(_Headers.GetCommaSeparatedValues(_Key));
        }
Пример #2
0
 public void Get_Merges_String_Array_Into_Single_String_Without_Removing_Quotes_Or_Spaces()
 {
     Reset_To_RawStringArray();
     Assert.AreEqual(_JoinedString, _Headers.Get(_Key));
 }