@Test
public void getPostComments() {

	mockServer.expect(requestTo((GroupTemplate.GROUP_POST_COMMENTS_URL + "?oauth2_access_token=ACCESS_TOKEN").replaceFirst("\\{post-id\\}", "g-46964-S-87679641"))).andExpect(method(GET))
		.andRespond(withSuccess(new ClassPathResource("group_post_comments.json", getClass()), MediaType.APPLICATION_JSON));
	
	PostComments comments = linkedIn.groupOperations().getPostComments("g-46964-S-87679641");
	
	assertEquals(5, comments.getCount());
	assertEquals(0, comments.getStart());
	assertEquals(10, comments.getTotal());
	assertEquals(5, comments.getComments().size());
	
	PostComment c = comments.getComments().get(0);
	assertEquals("g-4253322-S-89528249-64901084", c.getId());
	assertEquals(new Date(1325749391000l), c.getCreationTimestamp());
	assertProfile(c.getCreator(), null, null, "Piotr", "H.", null, null);
	assertEquals("https://docs.spring.io/spring/docs/3.1.x/spring-framework-reference/html/overview.html#overview-dependency-injection", c.getText());
	
	c = comments.getComments().get(1);
	assertEquals("g-4253322-S-89528249-64901084", c.getId());
	assertEquals(new Date(1325749913000l), c.getCreationTimestamp());
	assertProfile(c.getCreator(), null, null, "Gaurav", "D.", null, null);
	assertEquals("Thanks Piotr.", c.getText());
	
}