@Test
public void getPostInGroup() throws Exception {

    server.enqueue(new MockResponse().setBody(file("groups/post_details.json")));
    Response<Post, HttpError> response = resource.getPostInGroup("12345").execute();
    Post post = response.body();
    assertThat(post).isNotNull();
    assertThat(post.title()).isEqualTo("UL Test Tool User Group Meeting Munich");
    XingUser author = new XingUser("14481969_faacc6");
    assertThat(post.author()).isEqualTo(author);
}