GistTemplate extends AbstractGitHubOperations implements GistOperations { public List<GitHubGist> getStarredGists() { return asList(restTemplate.getForObject(buildUri("gists/starred"), GitHubGist[].class)); } GistTemplate(RestTemplate restTemplate, boolean isAuthorizedForUser); List<GitHubGist> getUserGists(String user); List<GitHubGist> getGists(); List<GitHubGist> getPublicGists(); List<GitHubGist> getStarredGists(); GitHubGist getGist(String id); List<GitHubComment> getGistComments(String id); GitHubComment getGistComment(Long id);  }
@Test public void getStarredGists() { }