System.PrivateUri.Tests.IdnDnsSafeHostTest.IdnDnsSafeHost_MixedCase_ToLowerCase C# (CSharp) Method

IdnDnsSafeHost_MixedCase_ToLowerCase() private method

private IdnDnsSafeHost_MixedCase_ToLowerCase ( ) : void
return void
        public void IdnDnsSafeHost_MixedCase_ToLowerCase()
        {
            Uri test = new Uri("HTTPS://www.xn--pck.COM/");

            Assert.Equal("www.xn--pck.com", test.Host);
            Assert.Equal("www.xn--pck.com", test.DnsSafeHost);
            Assert.Equal("www.xn--pck.com", test.IdnHost);
            Assert.Equal("https://www.xn--pck.com/", test.AbsoluteUri);
        }