public void getLeaderboard() {
mockServer.expect(requestTo("https://api.foursquare.com/v2/users/leaderboard?oauth_token=ACCESS_TOKEN&v=20110609"))
.andExpect(method(GET))
.andRespond(withResponse(new ClassPathResource("testdata/leaderboard.json", getClass()), responseHeaders));
Leaderboard leaderboard = foursquare.userOperations().getLeaderboard();
mockServer.verify();
assertEquals(23, leaderboard.getCount());
}