public void getCheckinsWithTimestamps() {
mockServer.expect(requestTo("https://api.foursquare.com/v2/users/self/checkins?oauth_token=ACCESS_TOKEN&v=20110609&limit=100&afterTimestamp=600&beforeTimestamp=500&offset=50"))
.andExpect(method(GET))
.andRespond(withResponse(new ClassPathResource("testdata/checkins.json", getClass()), responseHeaders));
CheckinInfo checkinInfo = foursquare.userOperations().getCheckins(500, 600, 100, 50);
assertTrue(checkinInfo.getCheckins().get(0) != null);
mockServer.verify();
}