ClientConfig { @Bean public TeamOperations teamOperations() { return new HystrixTeamOperations( new RestTemplateTeamOperations( buildOAuth2RestTemplate("teamService"), teamServiceBaseUrl, teamServiceProperties)); } @Autowired  ClientConfig(
            AccessTokens accessTokens,
            TeamServiceProperties teamServiceProperties,
            @Value("${fullstop.clients.kio.url}") String kioBaseUrl,
            @Value("${fullstop.clients.teamService.url}") String teamServiceBaseUrl,
            @Value("${fullstop.clients.pierone.urls}") String pieroneUrls); @Bean KioOperations kioOperations(); @Bean TeamOperations teamOperations(); @Bean Function<String, PieroneOperations> pieroneOperationsProvider();  }
@Test public void testTeamOperations() throws Exception { assertThat(teamOperations).isNotNull(); }