System.Net.Mail.Tests.AttachmentTest.CreateAttachmentFromStringNullName C# (CSharp) Method

CreateAttachmentFromStringNullName() private method

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