@Test
public void getSingleConversation() throws Exception {

    server.enqueue(new MockResponse().setBody(file("messages/single_conversation.json")));
    Response<Conversation, HttpError> response = resource.getSingleConversation("conversationid", "myUserId").execute();
    Conversation conversation = response.body();
    assertThat(conversation.getId()).isEqualTo("51626_4be761");
    assertThat(conversation.getSubject()).isEqualTo("Business opportunities");
    assertThat(conversation.getTotalMsgCount()).isEqualTo(2);
    assertThat(conversation.getUnreadMessageCount()).isEqualTo(1);
    assertThat(conversation.isReadOnly()).isFalse();
    assertThat(conversation.getParticipants()).hasSize(2);
    assertThat(conversation.getLatestMessages()).hasSize(2);
}