public void searchWithParameters() {
mockServer.expect(requestTo("https://api.foursquare.com/v2/users/search?oauth_token=ACCESS_TOKEN&v=20110609&twitter=matt&phone=123&email=john%40doe.com&fbid=321"))
.andExpect(method(GET))
.andRespond(withResponse(new ClassPathResource("testdata/user-search.json", getClass()), responseHeaders));
UserSearchResponse results = foursquare.userOperations().search(Arrays.asList("123"),
Arrays.asList("john@doe.com"), Arrays.asList("matt"), Arrays.asList("321"));
assertEquals(3, results.getResults().size());
mockServer.verify();
}