/**
* test reading in a sample page conversation
*/
@Test
public void conversation() {
Conversation conversation = createJsonMapper().toJavaObject(jsonFromClasspath("conversation"), Conversation.class);
assertEquals("t_id.378684585488220", conversation.getId());
List<Message> messages = conversation.getMessages();
assertEquals(2, messages.size());
List<Message.Attachment> attachments = messages.get(0).getAttachments();
assertEquals(2, attachments.size());
assertNull(attachments.get(0).getImageData());