System.PrivateUri.Tests.UriGetComponentsTest.GetComponents_ASCIIHost_LowerCaseResult C# (CSharp) 메소드

GetComponents_ASCIIHost_LowerCaseResult() 개인적인 메소드

private GetComponents_ASCIIHost_LowerCaseResult ( ) : void
리턴 void
        public void GetComponents_ASCIIHost_LowerCaseResult()
        {
            Uri testUri = new Uri("http://MixedCase.HostName");
            Assert.Equal("mixedcase.hostname", testUri.GetComponents(UriComponents.Host, UriFormat.UriEscaped));
            Assert.Equal("mixedcase.hostname", testUri.Host);
        }