Example #1
0
		public void Test()
		{
			HttpInputItem item = new HttpInputItem("Name", "Value");
			Assert.Equal("Value", item.Value);

			item.Add("value2");
			Assert.Equal(item.Values.Count, 2);
			Assert.Equal("value2", item.Values[1]);

			item.Add("subName", "subValue");
			Assert.Equal("subValue", item["subName"].Value);
		}
Example #2
0
 public HttpInputTest()
 {
     _item = new HttpInputItem("base", "esab");
 }