use of org.springframework.core.env.ConfigurablePropertyResolver in project spring-boot by spring-projects.
the class AbstractApplicationEnvironmentTests method propertyResolverIsOptimizedForConfigurationProperties.
@Test
void propertyResolverIsOptimizedForConfigurationProperties() {
StandardEnvironment environment = createEnvironment();
ConfigurablePropertyResolver expected = ConfigurationPropertySources.createPropertyResolver(new MutablePropertySources());
assertThat(environment).extracting("propertyResolver").hasSameClassAs(expected);
}
Aggregations