Example #1
0
        public void SetPath_ParamsStrings_SetsPathCorrectly(string resultPath, params string[] path)
        {
            var url = new ApiUrlBuilder();

            url.AppendPath(path);

            Assert.Equal(resultPath, url.Path);
        }
Example #2
0
        public void SetPath_SingleStringInput_SetsPathCorrectly(string path, string pathResult)
        {
            var url = new ApiUrlBuilder();

            url.AppendPath(path);

            Assert.Equal(pathResult, url.Path);
        }