public void getVenueHistory() {
mockServer.expect(requestTo("https://api.foursquare.com/v2/users/self/venuehistory?oauth_token=ACCESS_TOKEN&v=20110609"))
.andExpect(method(GET))
.andRespond(withResponse(new ClassPathResource("testdata/venue-history.json", getClass()), responseHeaders));
VenueHistory history = foursquare.userOperations().getVenueHistory(0, 0, null);
assertEquals(163, history.getCount());
assertEquals(1, history.getItems().get(0).getBeenHere());
assertTrue(history.getItems().get(0).getVenue() != null);
mockServer.verify();
}