Example #1
0
 public void should_convert_name_value_collection_to_dictionary()
 {
     var results = new NameValueCollection { { "your", "mom" }, { "goes to", "college" } }.ToDictionary();
     results.ShouldTotal(2);
     results["your"].ShouldEqual("mom");
     results["goes to"].ShouldEqual("college");
 }