Package org.springframework.social.foursquare.api

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


  public void get() {
    mockServer.expect(requestTo("https://api.foursquare.com/v2/specials/SPECIAL_ID?oauth_token=ACCESS_TOKEN&v=20110609&venueId=VENUE_ID"))
      .andExpect(method(GET))
      .andRespond(withResponse(new ClassPathResource("testdata/special.json", getClass()), responseHeaders));
   
    Special special = foursquare.specialOperations().get("SPECIAL_ID", "VENUE_ID");
    assertEquals("4cfc5c5ffabc2d437522ddd2", special.getId());
    mockServer.verify();
  }
View Full Code Here

TOP

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

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.