@Test public void testToAttachment() { Attachment attachment = card.toAttachment(); Assert.assertNotNull(attachment); Assert.assertEquals("application/vnd.microsoft.card.thumbnail", attachment.getContentType()); }
public Attachment toAttachment() { return new Attachment() { { setContent(ThumbnailCard.this); setContentType(CONTENTTYPE); } }; }
ThumbnailCard { public Attachment toAttachment() { return new Attachment() { { setContent(ThumbnailCard.this); setContentType(CONTENTTYPE); } }; } }
ThumbnailCard { public Attachment toAttachment() { return new Attachment() { { setContent(ThumbnailCard.this); setContentType(CONTENTTYPE); } }; }  }
ThumbnailCard { public Attachment toAttachment() { return new Attachment() { { setContent(ThumbnailCard.this); setContentType(CONTENTTYPE); } }; }  String getTitle(); void setTitle(String withTitle); String getSubtitle(); void setSubtitle(String withSubtitle); String getText(); void setText(String withText); List<CardImage> getImages(); void setImages(List<CardImage> withImages); void setImage(CardImage image); List<CardAction> getButtons(); void setButtons(List<CardAction> withButtons); CardAction getTap(); void setTap(CardAction withTap); Attachment toAttachment(); }
ThumbnailCard { public Attachment toAttachment() { return new Attachment() { { setContent(ThumbnailCard.this); setContentType(CONTENTTYPE); } }; }  String getTitle(); void setTitle(String withTitle); String getSubtitle(); void setSubtitle(String withSubtitle); String getText(); void setText(String withText); List<CardImage> getImages(); void setImages(List<CardImage> withImages); void setImage(CardImage image); List<CardAction> getButtons(); void setButtons(List<CardAction> withButtons); CardAction getTap(); void setTap(CardAction withTap); Attachment toAttachment(); @JsonIgnore
    static final String CONTENTTYPE; }