diff --git a/spring-cloud-config-client/src/test/java/org/springframework/cloud/config/client/ConfigServicePropertySourceLocatorTests.java b/spring-cloud-config-client/src/test/java/org/springframework/cloud/config/client/ConfigServicePropertySourceLocatorTests.java index f8eb5884..bb2a5cad 100644 --- a/spring-cloud-config-client/src/test/java/org/springframework/cloud/config/client/ConfigServicePropertySourceLocatorTests.java +++ b/spring-cloud-config-client/src/test/java/org/springframework/cloud/config/client/ConfigServicePropertySourceLocatorTests.java @@ -345,10 +345,11 @@ public class ConfigServicePropertySourceLocatorTests { mockRequestResponseWithoutLabel(new ResponseEntity<>(body, HttpStatus.OK)); this.locator.setRestTemplate(this.restTemplate); - List> propertySources = new ArrayList<>(this.locator - .locateCollection(this.environment)); + List> propertySources = new ArrayList<>( + this.locator.locateCollection(this.environment)); assertThat(propertySources).hasSize(2); - org.springframework.core.env.PropertySource propertySource = propertySources.get(1); + org.springframework.core.env.PropertySource propertySource = propertySources + .get(1); Map source = (Map) propertySource.getSource(); Iterator iterator = source.keySet().iterator(); assertThat(iterator.next()).isEqualTo("zuul.routes.specificproduct.path");