System.Net.Mail.Tests.MailAddressParserTest.ParseAddress_WithQuotedDisplayNameAndQuotedLocalAndAngleBrackets_ShouldReadCorrectly C# (CSharp) 메소드

ParseAddress_WithQuotedDisplayNameAndQuotedLocalAndAngleBrackets_ShouldReadCorrectly() 개인적인 메소드

        public void ParseAddress_WithQuotedDisplayNameAndQuotedLocalAndAngleBrackets_ShouldReadCorrectly()
        {
            MailAddress result;
            result = MailAddressParser.ParseAddress("(comment)\" asciin;,oqu o.tesws \"(comment)<(comment)\" asciin;,oqu o.tesws \"(comment)@(comment)[  test this ](comment)>");

            Assert.Equal(" asciin;,oqu o.tesws ", result.DisplayName);
            Assert.Equal("\" asciin;,oqu o.tesws \"", result.User);
            Assert.Equal("[  test this ]", result.Host);
        }
MailAddressParserTest