public void AddUrlParameterTest()
        {
            var url       = "www.test.com";
            var parameter = "key=value";
            var expected  = "www.test.com?key=value";
            var actual    = UrlHelper.AddOrChangeUrlParameter(url, parameter);

            Assert.AreEqual(expected, actual, "{0} != {1}", expected, actual);
        }
Exemplo n.º 2
0
        public string AddOrChangeUrlParameter_Test(string url, string keyValue)
        {
            var res = UrlHelper.AddOrChangeUrlParameter(url, keyValue);

            return(res);
        }