Example #1
0
        public void GetValues_Unchanged()
        {
            IFormCollection form   = CreateForm(RawValues);
            IList <string>  values = form.GetValues(FormsItemKey);

            Assert.Equal(RawValues, values);
        }
Example #2
0
        public void GetMissing_null()
        {
            IFormCollection form = CreateForm(null);

            Assert.Null(form[FormsItemKey]);
            Assert.Null(form.Get(FormsItemKey));
            Assert.Null(form.GetValues(FormsItemKey));
        }