mockServer.expect(requestTo("https://api.foursquare.com/v2/tips/add?oauth_token=ACCESS_TOKEN&v=20110609"))
.andExpect(method(POST))
.andExpect(body("venueId=VENUE_ID&text=TEXT&url=URL"))
.andRespond(withResponse(new ClassPathResource("testdata/tip.json", getClass()), responseHeaders));
Tip tip = foursquare.tipOperations().add("VENUE_ID", "TEXT", "URL");
assertEquals("4b5e662a70c603bba7d790b4", tip.getId());
mockServer.verify();
}