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