@Test
public void testToAttachment() {

    Attachment attachment = card.toAttachment();
    Assert.assertNotNull(attachment);
    Assert.assertEquals("application/vnd.microsoft.card.hero", attachment.getContentType());
}