public void getTodos() {
mockServer.expect(requestTo("https://api.foursquare.com/v2/users/self/todos?oauth_token=ACCESS_TOKEN&v=20110609&sort=recent"))
.andExpect(method(GET))
.andRespond(withResponse(new ClassPathResource("testdata/todos.json", getClass()), responseHeaders));
Todos todos = foursquare.userOperations().getRecentTodos();
assertEquals(2, todos.getCount());
assertTrue(todos.getItems().get(0) != null);
assertTrue(todos.getItems().get(0).getTip() != null);
mockServer.verify();
}