ClientConfig { @Bean public KioOperations kioOperations() { return new HystrixKioOperations( new RestTemplateKioOperations( buildOAuth2RestTemplate("kio", new KioClientResponseErrorHandler()), kioBaseUrl)); } @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 testKioOperations() throws Exception { assertThat(kioOperations).isNotNull(); }