GithubClient { @Cacheable("github.user") public GithubUser getUser(String githubId) { return invoke(createRequestEntity( String.format("https: } GithubClient(CounterService counterService, RestTemplateBuilder restTemplateBuilder,
			CfpProperties properties); @Cacheable("github.commits") List<Commit> getRecentCommits(String organization, String project); @Cacheable("github.polishCommit") Commit getRecentPolishCommit(String organization, String project); @Cacheable("github.user") GithubUser getUser(String githubId);  }
@Test public void getUser() { expectJson("https: GithubUser user = this.githubClient.getUser("jsmith"); assertThat(user.getEmail()).isEqualTo("john@example.com"); assertThat(user.getName()).isEqualTo("John Smith"); assertThat(user.getCompany()).isEqualTo("Acme Inc."); assertThat(user.getBlog()).isEqualTo("https: assertThat(user.getAvatar()).isEqualTo("https: }