public void GetUrl_PreceedingSlash()
        {
            System.Uri baseUri = new System.Uri("http://www.google.com");
            IUrlService service = new DefaultUrlService(baseUri, null);

            Assert.AreEqual("http://www.google.com/RelativePath/Path", service.GetUrl("/RelativePath/Path"), @"
            The GetUrl method should take in a path and append it to the end of the base Url.
            If the path has a preceeding slash or not, it shouldn't matter.
            ");
        }
        public void GetUrl_WhiteSpaceAllOver()
        {
            System.Uri baseUri = new System.Uri("http://www.google.com");
            IUrlService service = new DefaultUrlService(baseUri, null);

            Assert.AreEqual("http://www.google.com/RelativePath/Path", service.GetUrl("   RelativePath/Path	"), @"
            The GetUrl method should take in a path and append it to the end of the base Url.
            All whitespace should be trimmed off of the path.
            ");
        }
        public void GetUrl_NullPath()
        {
            System.Uri baseUri = new System.Uri("http://www.google.com");
            IUrlService service = new DefaultUrlService(baseUri, null);

            Assert.AreEqual(baseUri.ToString(), service.GetUrl(null), @"
            The GetUrl method should take in a path and append it to the end of the base Url.
            If null is passed for the path, then the base url should be returned.
            ");
        }