@ -275,15 +275,15 @@ public class ConfigurationPropertiesTests {
@@ -275,15 +275,15 @@ public class ConfigurationPropertiesTests {
}
@Test
public void loadWhenPrefixedPropertiesDeca lredAsBeanShouldBind ( ) {
load ( PrefixPropertiesDeca lredAsBeanConfiguration . class , "spring.foo.name=foo" ) ;
public void loadWhenPrefixedPropertiesDecla redAsBeanShouldBind ( ) {
load ( PrefixPropertiesDecla redAsBeanConfiguration . class , "spring.foo.name=foo" ) ;
PrefixProperties bean = this . context . getBean ( PrefixProperties . class ) ;
assertThat ( ( ( BasicProperties ) bean ) . name ) . isEqualTo ( "foo" ) ;
}
@Test
public void loadWhenPrefixedPropertiesDeca lredAsAnnotationValueShouldBind ( ) {
load ( PrefixPropertiesDeca lredAsAnnotationValueConfiguration . class ,
public void loadWhenPrefixedPropertiesDecla redAsAnnotationValueShouldBind ( ) {
load ( PrefixPropertiesDecla redAsAnnotationValueConfiguration . class ,
"spring.foo.name=foo" ) ;
PrefixProperties bean = this . context . getBean (
"spring.foo-" + PrefixProperties . class . getName ( ) , PrefixProperties . class ) ;
@ -291,8 +291,8 @@ public class ConfigurationPropertiesTests {
@@ -291,8 +291,8 @@ public class ConfigurationPropertiesTests {
}
@Test
public void loadWhenMultiplePrefixedPropertiesDeca lredAsAnnotationValueShouldBind ( ) {
load ( MultiplePrefixPropertiesDeca lredAsAnnotationValueConfiguration . class ,
public void loadWhenMultiplePrefixedPropertiesDecla redAsAnnotationValueShouldBind ( ) {
load ( MultiplePrefixPropertiesDecla redAsAnnotationValueConfiguration . class ,
"spring.foo.name=foo" , "spring.bar.name=bar" ) ;
PrefixProperties bean1 = this . context . getBean ( PrefixProperties . class ) ;
AnotherPrefixProperties bean2 = this . context
@ -510,7 +510,7 @@ public class ConfigurationPropertiesTests {
@@ -510,7 +510,7 @@ public class ConfigurationPropertiesTests {
}
@Test
public void loadWhenOverridingPropertiesWithPlaceholderResolutionInEnvionmentShouldBindWithOverride ( ) {
public void loadWhenOverridingPropertiesWithPlaceholderResolutionInEnvir onmentShouldBindWithOverride ( ) {
MutablePropertySources sources = this . context . getEnvironment ( )
. getPropertySources ( ) ;
sources . addFirst ( new SystemEnvironmentPropertySource ( "system" ,
@ -790,7 +790,7 @@ public class ConfigurationPropertiesTests {
@@ -790,7 +790,7 @@ public class ConfigurationPropertiesTests {
@Configuration
@EnableConfigurationProperties
static class PrefixPropertiesDeca lredAsBeanConfiguration {
static class PrefixPropertiesDecla redAsBeanConfiguration {
@Bean
public PrefixProperties prefixProperties ( ) {
@ -801,14 +801,14 @@ public class ConfigurationPropertiesTests {
@@ -801,14 +801,14 @@ public class ConfigurationPropertiesTests {
@Configuration
@EnableConfigurationProperties ( PrefixProperties . class )
static class PrefixPropertiesDeca lredAsAnnotationValueConfiguration {
static class PrefixPropertiesDecla redAsAnnotationValueConfiguration {
}
@Configuration
@EnableConfigurationProperties ( { PrefixProperties . class ,
AnotherPrefixProperties . class } )
static class MultiplePrefixPropertiesDeca lredAsAnnotationValueConfiguration {
static class MultiplePrefixPropertiesDecla redAsAnnotationValueConfiguration {
}