@Test public void testSearchWithSearchStringPageAndNumPerPage(){ mockServer.expect(requestTo("https: .andRespond(withSuccess(jsonResource("testdata/yammer-search-results"), APPLICATION_JSON)); SearchResults searchResults = yammerTemplate.searchOperations().search("foo",2,10); assertSearchResult(searchResults); }
public SearchResults search(String searchString){ return search(searchString, 1); }
SearchTemplate extends AbstractYammerOperations implements SearchOperations { public SearchResults search(String searchString){ return search(searchString, 1); } }
SearchTemplate extends AbstractYammerOperations implements SearchOperations { public SearchResults search(String searchString){ return search(searchString, 1); } SearchTemplate(RestTemplate restTemplate); }
SearchTemplate extends AbstractYammerOperations implements SearchOperations { public SearchResults search(String searchString){ return search(searchString, 1); } SearchTemplate(RestTemplate restTemplate); SearchResults search(String searchString); SearchResults search(String searchString, int page); SearchResults search(String searchString, int page, int numberPerPage); }
SearchTemplate extends AbstractYammerOperations implements SearchOperations { public SearchResults search(String searchString){ return search(searchString, 1); } SearchTemplate(RestTemplate restTemplate); SearchResults search(String searchString); SearchResults search(String searchString, int page); SearchResults search(String searchString, int page, int numberPerPage);  }