public void BinaryAttachment_ToString_1() { string name = "Name"; byte[] content = { 1, 2, 3 }; BinaryAttachment attachment = new BinaryAttachment(name, content); Assert.AreEqual("Name: 3 bytes", attachment.ToString()); }