System.Net.Mail.Tests.AttachmentTest.CreateAttachmentFromStringNullName C# (CSharp) Méthode

CreateAttachmentFromStringNullName() private méthode

private CreateAttachmentFromStringNullName ( ) : void
Résultat void
        public void CreateAttachmentFromStringNullName()
        {
            Attachment attach = Attachment.CreateAttachmentFromString("", null, Encoding.ASCII, "application/octet-stream");
            Assert.Null(attach.Name);
        }