Package org.springframework.social.foursquare.api

Examples of org.springframework.social.foursquare.api.Specials


  public void search() {
    mockServer.expect(requestTo("https://api.foursquare.com/v2/specials/search?oauth_token=ACCESS_TOKEN&v=20110609&limit=10&ll=10.0%2C10.0&alt=10.0&altAcc=100&llAcc=100"))
      .andExpect(method(GET))
      .andRespond(withResponse(new ClassPathResource("testdata/searchspecials.json", getClass()), responseHeaders));
   
    Specials specials = foursquare.specialOperations().search(10d, 10d, 100l, 10d, 100l, 10);
    assertEquals(30, specials.getCount());
    mockServer.verify();
  }
View Full Code Here

TOP

Related Classes of org.springframework.social.foursquare.api.Specials

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.