@Test
public void getCommentsOfPost() throws Exception {

    server.enqueue(new MockResponse().setBody(file("groups/comments.json")));
    Response<List<Comment>, HttpError> response = resource.getCommentsOfPost("123").execute();
    assertThat(response.body().size()).isEqualTo(1);
    Comment firstComment = response.body().get(0);
    assertThat(firstComment).isNotNull();
    assertThat(firstComment.content()).isEqualTo("Hi Dagmar, I take one. Thank you!");
    assertThat(firstComment.userLiked()).isFalse();
    XingUser commentAuthor = new XingUser("7961724_04b13c");
    assertThat(firstComment.author()).isEqualTo(commentAuthor);
}