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

            Assert.That(url, Is.EqualTo("/route/1?included=Yes"));
        }
Exemplo n.º 2
0
 public void Can_include_only_data_members_on_querystring()
 {
     var url = new RequestWithDataMembers { Id = 1, Included = "Yes", Excluded = "No" }.ToUrl("GET");
     Assert.That(url, Is.EqualTo("/route/1?included=Yes"));
 }