public void ContentDisposition() { Attachment attach = Attachment.CreateAttachmentFromString("test", "attachment-name"); Assert.NotNull(attach.ContentDisposition); Assert.Equal("attachment", attach.ContentDisposition.DispositionType); }