public void GetLeftPart_IfTheWrappedUriIsRelativeAndThePartParameterIsQuery_ShouldReturnThePathAndQuery()
        {
            var uriWrapper = new UriWrapper(new Uri("Directory/Sub-Directory/File.txt?Key=Value#Our-fragment", UriKind.Relative));

            Assert.AreEqual("/Directory/Sub-Directory/File.txt?Key=Value", uriWrapper.GetLeftPart(UriPartial.Query));

            uriWrapper = new UriWrapper(new Uri(string.Empty, UriKind.Relative));
            Assert.AreEqual("/", uriWrapper.GetLeftPart(UriPartial.Query));
        }
        public void GetLeftPart_IfTheWrappedUriIsRelativeAndThePartParameterIsScheme_ShouldReturnNull()
        {
            var uriWrapper = new UriWrapper(new Uri("Directory", UriKind.Relative));

            Assert.IsNull(uriWrapper.GetLeftPart(UriPartial.Scheme));
        }