public void Use_data_member_names_on_querystring()
        {
            var url = new RequestWithNamedDataMembers {
                Id = 1, Included = "Yes", Excluded = "No"
            }.ToUrl("GET");

            Assert.That(url, Is.EqualTo("/route/1?inc=Yes"));
        }
示例#2
0
 public void Use_data_member_names_on_querystring()
 {
     var url = new RequestWithNamedDataMembers { Id = 1, Included = "Yes", Excluded = "No" }.ToUrl("GET");
     Assert.That(url, Is.EqualTo("/route/1?inc=Yes"));
 }