GistTemplate extends AbstractGitHubOperations implements GistOperations { public GitHubGist getGist(String id) { return restTemplate.getForObject(buildUri("gists/{id}"), GitHubGist.class, id); } 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 getGist() { }