System.Net.Mail.Tests.MailAddressParserTest.ReadQuotedString_WithInvalidCharacters_ShouldThrow C# (CSharp) Метод

ReadQuotedString_WithInvalidCharacters_ShouldThrow() приватный Метод

private ReadQuotedString_WithInvalidCharacters_ShouldThrow ( ) : void
Результат void
        public void ReadQuotedString_WithInvalidCharacters_ShouldThrow()
        {
            int index = InvalidQuotedString.Length - 1;
            Assert.Throws<FormatException>(() => { QuotedStringFormatReader.ReadReverseQuoted(InvalidQuotedString, index, false); });
        }
MailAddressParserTest