mockServer.expect(requestTo("https://api.foursquare.com/v2/checkins/CHECKIN_ID/addcomment?oauth_token=ACCESS_TOKEN&v=20110609"))
.andExpect(method(POST))
.andExpect(body("text=COMMENT_TEXT"))
.andRespond(withResponse(new ClassPathResource("testdata/checkincomment.json", getClass()), responseHeaders));
CheckinComment comment = foursquare.checkinOperations().addComment("CHECKIN_ID", "COMMENT_TEXT");
assertEquals("commentid", comment.getId());
mockServer.verify();
}