### Question:
CfSpringCloudConfigClientProcessor implements CfEnvProcessor { @Override public void process(CfCredentials cfCredentials, Map<String, Object> properties) { String uri = cfCredentials.getUri(); String clientId = cfCredentials.getString("client_id"); String clientSecret = cfCredentials.getString("client_secret"); String accessTokenUri = cfCredentials.getString("access_token_uri"); properties.put("spring.cloud.config.uri", uri); properties.put("spring.cloud.config.client.oauth2.clientId", clientId); properties.put("spring.cloud.config.client.oauth2.clientSecret", clientSecret); properties.put("spring.cloud.config.client.oauth2.accessTokenUri", accessTokenUri); }  @Override boolean accept(CfService service); @Override void process(CfCredentials cfCredentials, Map<String, Object> properties); @Override CfEnvProcessorProperties getProperties();  }### Answer:
@Test public void shouldProcessCfCredentials() { Map<String, Object> properties = new HashMap<>(); configClientProcessor.process(cfCredentials, properties); assertThat(properties.get("spring.cloud.config.uri")).isEqualTo(URI); assertThat(properties.get("spring.cloud.config.client.oauth2.clientId")).isEqualTo(CLIENT_ID); assertThat(properties.get("spring.cloud.config.client.oauth2.clientSecret")).isEqualTo(CLIENT_SECRET); assertThat(properties.get("spring.cloud.config.client.oauth2.accessTokenUri")).isEqualTo(ACCESS_TOKEN_URI); }