@ -80,7 +80,7 @@ class InjectAnnotationBeanPostProcessorTests {
@@ -80,7 +80,7 @@ class InjectAnnotationBeanPostProcessorTests {
@Test
void testI ncompleteBeanDefinition( ) {
void i ncompleteBeanDefinition( ) {
bf . registerBeanDefinition ( "testBean" , new GenericBeanDefinition ( ) ) ;
try {
bf . getBean ( "testBean" ) ;
@ -91,7 +91,7 @@ class InjectAnnotationBeanPostProcessorTests {
@@ -91,7 +91,7 @@ class InjectAnnotationBeanPostProcessorTests {
}
@Test
void testR esourceInjection( ) {
void r esourceInjection( ) {
RootBeanDefinition bd = new RootBeanDefinition ( ResourceInjectionBean . class ) ;
bd . setScope ( BeanDefinition . SCOPE_PROTOTYPE ) ;
bf . registerBeanDefinition ( "annotatedBean" , bd ) ;
@ -108,7 +108,7 @@ class InjectAnnotationBeanPostProcessorTests {
@@ -108,7 +108,7 @@ class InjectAnnotationBeanPostProcessorTests {
}
@Test
void t estE xtendedResourceInjection( ) {
void extendedResourceInjection ( ) {
RootBeanDefinition bd = new RootBeanDefinition ( TypedExtendedResourceInjectionBean . class ) ;
bd . setScope ( BeanDefinition . SCOPE_PROTOTYPE ) ;
bf . registerBeanDefinition ( "annotatedBean" , bd ) ;
@ -135,7 +135,7 @@ class InjectAnnotationBeanPostProcessorTests {
@@ -135,7 +135,7 @@ class InjectAnnotationBeanPostProcessorTests {
}
@Test
void t estE xtendedResourceInjectionWithOverriding( ) {
void extendedResourceInjectionWithOverriding ( ) {
RootBeanDefinition annotatedBd = new RootBeanDefinition ( TypedExtendedResourceInjectionBean . class ) ;
TestBean tb2 = new TestBean ( ) ;
annotatedBd . getPropertyValues ( ) . add ( "testBean2" , tb2 ) ;
@ -155,7 +155,7 @@ class InjectAnnotationBeanPostProcessorTests {
@@ -155,7 +155,7 @@ class InjectAnnotationBeanPostProcessorTests {
}
@Test
void testC onstructorResourceInjection( ) {
void c onstructorResourceInjection( ) {
RootBeanDefinition bd = new RootBeanDefinition ( ConstructorResourceInjectionBean . class ) ;
bd . setScope ( BeanDefinition . SCOPE_PROTOTYPE ) ;
bf . registerBeanDefinition ( "annotatedBean" , bd ) ;
@ -182,7 +182,7 @@ class InjectAnnotationBeanPostProcessorTests {
@@ -182,7 +182,7 @@ class InjectAnnotationBeanPostProcessorTests {
}
@Test
void testC onstructorResourceInjectionWithMultipleCandidatesAsCollection( ) {
void c onstructorResourceInjectionWithMultipleCandidatesAsCollection( ) {
bf . registerBeanDefinition ( "annotatedBean" ,
new RootBeanDefinition ( ConstructorsCollectionResourceInjectionBean . class ) ) ;
TestBean tb = new TestBean ( ) ;
@ -199,7 +199,7 @@ class InjectAnnotationBeanPostProcessorTests {
@@ -199,7 +199,7 @@ class InjectAnnotationBeanPostProcessorTests {
}
@Test
void testC onstructorResourceInjectionWithMultipleCandidatesAndFallback( ) {
void c onstructorResourceInjectionWithMultipleCandidatesAndFallback( ) {
bf . registerBeanDefinition ( "annotatedBean" , new RootBeanDefinition ( ConstructorsResourceInjectionBean . class ) ) ;
TestBean tb = new TestBean ( ) ;
bf . registerSingleton ( "testBean" , tb ) ;
@ -210,7 +210,7 @@ class InjectAnnotationBeanPostProcessorTests {
@@ -210,7 +210,7 @@ class InjectAnnotationBeanPostProcessorTests {
}
@Test
void testC onstructorInjectionWithMap( ) {
void c onstructorInjectionWithMap( ) {
RootBeanDefinition bd = new RootBeanDefinition ( MapConstructorInjectionBean . class ) ;
bd . setScope ( BeanDefinition . SCOPE_PROTOTYPE ) ;
bf . registerBeanDefinition ( "annotatedBean" , bd ) ;
@ -235,7 +235,7 @@ class InjectAnnotationBeanPostProcessorTests {
@@ -235,7 +235,7 @@ class InjectAnnotationBeanPostProcessorTests {
}
@Test
void testF ieldInjectionWithMap( ) {
void f ieldInjectionWithMap( ) {
RootBeanDefinition bd = new RootBeanDefinition ( MapFieldInjectionBean . class ) ;
bd . setScope ( BeanDefinition . SCOPE_PROTOTYPE ) ;
bf . registerBeanDefinition ( "annotatedBean" , bd ) ;
@ -260,7 +260,7 @@ class InjectAnnotationBeanPostProcessorTests {
@@ -260,7 +260,7 @@ class InjectAnnotationBeanPostProcessorTests {
}
@Test
void testM ethodInjectionWithMap( ) {
void m ethodInjectionWithMap( ) {
RootBeanDefinition bd = new RootBeanDefinition ( MapMethodInjectionBean . class ) ;
bd . setScope ( BeanDefinition . SCOPE_PROTOTYPE ) ;
bf . registerBeanDefinition ( "annotatedBean" , bd ) ;
@ -281,7 +281,7 @@ class InjectAnnotationBeanPostProcessorTests {
@@ -281,7 +281,7 @@ class InjectAnnotationBeanPostProcessorTests {
}
@Test
void testM ethodInjectionWithMapAndMultipleMatches( ) {
void m ethodInjectionWithMapAndMultipleMatches( ) {
bf . registerBeanDefinition ( "annotatedBean" , new RootBeanDefinition ( MapMethodInjectionBean . class ) ) ;
bf . registerBeanDefinition ( "testBean1" , new RootBeanDefinition ( TestBean . class ) ) ;
bf . registerBeanDefinition ( "testBean2" , new RootBeanDefinition ( TestBean . class ) ) ;
@ -290,7 +290,7 @@ class InjectAnnotationBeanPostProcessorTests {
@@ -290,7 +290,7 @@ class InjectAnnotationBeanPostProcessorTests {
}
@Test
void testM ethodInjectionWithMapAndMultipleMatchesButOnlyOneAutowireCandidate( ) {
void m ethodInjectionWithMapAndMultipleMatchesButOnlyOneAutowireCandidate( ) {
bf . registerBeanDefinition ( "annotatedBean" , new RootBeanDefinition ( MapMethodInjectionBean . class ) ) ;
bf . registerBeanDefinition ( "testBean1" , new RootBeanDefinition ( TestBean . class ) ) ;
RootBeanDefinition rbd2 = new RootBeanDefinition ( TestBean . class ) ;
@ -306,7 +306,7 @@ class InjectAnnotationBeanPostProcessorTests {
@@ -306,7 +306,7 @@ class InjectAnnotationBeanPostProcessorTests {
}
@Test
void testO bjectFactoryInjection( ) {
void o bjectFactoryInjection( ) {
bf . registerBeanDefinition ( "annotatedBean" , new RootBeanDefinition ( ObjectFactoryQualifierFieldInjectionBean . class ) ) ;
RootBeanDefinition bd = new RootBeanDefinition ( TestBean . class ) ;
bd . addQualifier ( new AutowireCandidateQualifier ( Qualifier . class , "testBean" ) ) ;
@ -318,7 +318,7 @@ class InjectAnnotationBeanPostProcessorTests {
@@ -318,7 +318,7 @@ class InjectAnnotationBeanPostProcessorTests {
}
@Test
void testO bjectFactoryQualifierInjection( ) {
void o bjectFactoryQualifierInjection( ) {
bf . registerBeanDefinition ( "annotatedBean" , new RootBeanDefinition ( ObjectFactoryQualifierFieldInjectionBean . class ) ) ;
RootBeanDefinition bd = new RootBeanDefinition ( TestBean . class ) ;
bd . addQualifier ( new AutowireCandidateQualifier ( Qualifier . class , "testBean" ) ) ;
@ -329,7 +329,7 @@ class InjectAnnotationBeanPostProcessorTests {
@@ -329,7 +329,7 @@ class InjectAnnotationBeanPostProcessorTests {
}
@Test
void testO bjectFactoryFieldInjectionIntoPrototypeBean( ) {
void o bjectFactoryFieldInjectionIntoPrototypeBean( ) {
RootBeanDefinition annotatedBeanDefinition = new RootBeanDefinition ( ObjectFactoryQualifierFieldInjectionBean . class ) ;
annotatedBeanDefinition . setScope ( BeanDefinition . SCOPE_PROTOTYPE ) ;
bf . registerBeanDefinition ( "annotatedBean" , annotatedBeanDefinition ) ;
@ -346,7 +346,7 @@ class InjectAnnotationBeanPostProcessorTests {
@@ -346,7 +346,7 @@ class InjectAnnotationBeanPostProcessorTests {
}
@Test
void testO bjectFactoryMethodInjectionIntoPrototypeBean( ) {
void o bjectFactoryMethodInjectionIntoPrototypeBean( ) {
RootBeanDefinition annotatedBeanDefinition = new RootBeanDefinition ( ObjectFactoryQualifierMethodInjectionBean . class ) ;
annotatedBeanDefinition . setScope ( BeanDefinition . SCOPE_PROTOTYPE ) ;
bf . registerBeanDefinition ( "annotatedBean" , annotatedBeanDefinition ) ;
@ -363,7 +363,7 @@ class InjectAnnotationBeanPostProcessorTests {
@@ -363,7 +363,7 @@ class InjectAnnotationBeanPostProcessorTests {
}
@Test
void testO bjectFactoryWithBeanField( ) throws Exception {
void o bjectFactoryWithBeanField( ) throws Exception {
bf . registerBeanDefinition ( "annotatedBean" , new RootBeanDefinition ( ObjectFactoryFieldInjectionBean . class ) ) ;
bf . registerBeanDefinition ( "testBean" , new RootBeanDefinition ( TestBean . class ) ) ;
bf . setSerializationId ( "test" ) ;
@ -377,7 +377,7 @@ class InjectAnnotationBeanPostProcessorTests {
@@ -377,7 +377,7 @@ class InjectAnnotationBeanPostProcessorTests {
}
@Test
void testO bjectFactoryWithBeanFieldAgainstFrozen( ) throws Exception {
void o bjectFactoryWithBeanFieldAgainstFrozen( ) throws Exception {
bf . registerBeanDefinition ( "annotatedBean" , new RootBeanDefinition ( ObjectFactoryFieldInjectionBean . class ) ) ;
bf . registerBeanDefinition ( "testBean" , new RootBeanDefinition ( TestBean . class ) ) ;
bf . setSerializationId ( "test" ) ;
@ -392,7 +392,7 @@ class InjectAnnotationBeanPostProcessorTests {
@@ -392,7 +392,7 @@ class InjectAnnotationBeanPostProcessorTests {
}
@Test
void testO bjectFactoryWithBeanMethod( ) throws Exception {
void o bjectFactoryWithBeanMethod( ) throws Exception {
bf . registerBeanDefinition ( "annotatedBean" , new RootBeanDefinition ( ObjectFactoryMethodInjectionBean . class ) ) ;
bf . registerBeanDefinition ( "testBean" , new RootBeanDefinition ( TestBean . class ) ) ;
bf . setSerializationId ( "test" ) ;
@ -406,7 +406,7 @@ class InjectAnnotationBeanPostProcessorTests {
@@ -406,7 +406,7 @@ class InjectAnnotationBeanPostProcessorTests {
}
@Test
void testO bjectFactoryWithBeanMethodAgainstFrozen( ) throws Exception {
void o bjectFactoryWithBeanMethodAgainstFrozen( ) throws Exception {
bf . registerBeanDefinition ( "annotatedBean" , new RootBeanDefinition ( ObjectFactoryMethodInjectionBean . class ) ) ;
bf . registerBeanDefinition ( "testBean" , new RootBeanDefinition ( TestBean . class ) ) ;
bf . setSerializationId ( "test" ) ;
@ -421,7 +421,7 @@ class InjectAnnotationBeanPostProcessorTests {
@@ -421,7 +421,7 @@ class InjectAnnotationBeanPostProcessorTests {
}
@Test
void testO bjectFactoryWithTypedListField( ) throws Exception {
void o bjectFactoryWithTypedListField( ) throws Exception {
bf . registerBeanDefinition ( "annotatedBean" , new RootBeanDefinition ( ObjectFactoryListFieldInjectionBean . class ) ) ;
bf . registerBeanDefinition ( "testBean" , new RootBeanDefinition ( TestBean . class ) ) ;
bf . setSerializationId ( "test" ) ;
@ -433,7 +433,7 @@ class InjectAnnotationBeanPostProcessorTests {
@@ -433,7 +433,7 @@ class InjectAnnotationBeanPostProcessorTests {
}
@Test
void testO bjectFactoryWithTypedListMethod( ) throws Exception {
void o bjectFactoryWithTypedListMethod( ) throws Exception {
bf . registerBeanDefinition ( "annotatedBean" , new RootBeanDefinition ( ObjectFactoryListMethodInjectionBean . class ) ) ;
bf . registerBeanDefinition ( "testBean" , new RootBeanDefinition ( TestBean . class ) ) ;
bf . setSerializationId ( "test" ) ;
@ -445,7 +445,7 @@ class InjectAnnotationBeanPostProcessorTests {
@@ -445,7 +445,7 @@ class InjectAnnotationBeanPostProcessorTests {
}
@Test
void testO bjectFactoryWithTypedMapField( ) throws Exception {
void o bjectFactoryWithTypedMapField( ) throws Exception {
bf . registerBeanDefinition ( "annotatedBean" , new RootBeanDefinition ( ObjectFactoryMapFieldInjectionBean . class ) ) ;
bf . registerBeanDefinition ( "testBean" , new RootBeanDefinition ( TestBean . class ) ) ;
bf . setSerializationId ( "test" ) ;
@ -457,7 +457,7 @@ class InjectAnnotationBeanPostProcessorTests {
@@ -457,7 +457,7 @@ class InjectAnnotationBeanPostProcessorTests {
}
@Test
void testO bjectFactoryWithTypedMapMethod( ) throws Exception {
void o bjectFactoryWithTypedMapMethod( ) throws Exception {
bf . registerBeanDefinition ( "annotatedBean" , new RootBeanDefinition ( ObjectFactoryMapMethodInjectionBean . class ) ) ;
bf . registerBeanDefinition ( "testBean" , new RootBeanDefinition ( TestBean . class ) ) ;
bf . setSerializationId ( "test" ) ;
@ -474,7 +474,7 @@ class InjectAnnotationBeanPostProcessorTests {
@@ -474,7 +474,7 @@ class InjectAnnotationBeanPostProcessorTests {
* specifically addressing SPR - 4040 .
* /
@Test
void testB eanAutowiredWithFactoryBean( ) {
void b eanAutowiredWithFactoryBean( ) {
bf . registerBeanDefinition ( "factoryBeanDependentBean" , new RootBeanDefinition ( FactoryBeanDependentBean . class ) ) ;
bf . registerSingleton ( "stringFactoryBean" , new StringFactoryBean ( ) ) ;
@ -487,7 +487,7 @@ class InjectAnnotationBeanPostProcessorTests {
@@ -487,7 +487,7 @@ class InjectAnnotationBeanPostProcessorTests {
}
@Test
void testN ullableFieldInjectionWithBeanAvailable( ) {
void n ullableFieldInjectionWithBeanAvailable( ) {
bf . registerBeanDefinition ( "annotatedBean" , new RootBeanDefinition ( NullableFieldInjectionBean . class ) ) ;
bf . registerBeanDefinition ( "testBean" , new RootBeanDefinition ( TestBean . class ) ) ;
@ -497,7 +497,7 @@ class InjectAnnotationBeanPostProcessorTests {
@@ -497,7 +497,7 @@ class InjectAnnotationBeanPostProcessorTests {
}
@Test
void testN ullableFieldInjectionWithBeanNotAvailable( ) {
void n ullableFieldInjectionWithBeanNotAvailable( ) {
bf . registerBeanDefinition ( "annotatedBean" , new RootBeanDefinition ( NullableFieldInjectionBean . class ) ) ;
NullableFieldInjectionBean bean = ( NullableFieldInjectionBean ) bf . getBean ( "annotatedBean" ) ;
@ -505,7 +505,7 @@ class InjectAnnotationBeanPostProcessorTests {
@@ -505,7 +505,7 @@ class InjectAnnotationBeanPostProcessorTests {
}
@Test
void testN ullableMethodInjectionWithBeanAvailable( ) {
void n ullableMethodInjectionWithBeanAvailable( ) {
bf . registerBeanDefinition ( "annotatedBean" , new RootBeanDefinition ( NullableMethodInjectionBean . class ) ) ;
bf . registerBeanDefinition ( "testBean" , new RootBeanDefinition ( TestBean . class ) ) ;
@ -515,7 +515,7 @@ class InjectAnnotationBeanPostProcessorTests {
@@ -515,7 +515,7 @@ class InjectAnnotationBeanPostProcessorTests {
}
@Test
void testN ullableMethodInjectionWithBeanNotAvailable( ) {
void n ullableMethodInjectionWithBeanNotAvailable( ) {
bf . registerBeanDefinition ( "annotatedBean" , new RootBeanDefinition ( NullableMethodInjectionBean . class ) ) ;
NullableMethodInjectionBean bean = ( NullableMethodInjectionBean ) bf . getBean ( "annotatedBean" ) ;
@ -523,7 +523,7 @@ class InjectAnnotationBeanPostProcessorTests {
@@ -523,7 +523,7 @@ class InjectAnnotationBeanPostProcessorTests {
}
@Test
void testO ptionalFieldInjectionWithBeanAvailable( ) {
void o ptionalFieldInjectionWithBeanAvailable( ) {
bf . registerBeanDefinition ( "annotatedBean" , new RootBeanDefinition ( OptionalFieldInjectionBean . class ) ) ;
bf . registerBeanDefinition ( "testBean" , new RootBeanDefinition ( TestBean . class ) ) ;
@ -534,7 +534,7 @@ class InjectAnnotationBeanPostProcessorTests {
@@ -534,7 +534,7 @@ class InjectAnnotationBeanPostProcessorTests {
}
@Test
void testO ptionalFieldInjectionWithBeanNotAvailable( ) {
void o ptionalFieldInjectionWithBeanNotAvailable( ) {
bf . registerBeanDefinition ( "annotatedBean" , new RootBeanDefinition ( OptionalFieldInjectionBean . class ) ) ;
OptionalFieldInjectionBean bean = ( OptionalFieldInjectionBean ) bf . getBean ( "annotatedBean" ) ;
@ -542,7 +542,7 @@ class InjectAnnotationBeanPostProcessorTests {
@@ -542,7 +542,7 @@ class InjectAnnotationBeanPostProcessorTests {
}
@Test
void testO ptionalMethodInjectionWithBeanAvailable( ) {
void o ptionalMethodInjectionWithBeanAvailable( ) {
bf . registerBeanDefinition ( "annotatedBean" , new RootBeanDefinition ( OptionalMethodInjectionBean . class ) ) ;
bf . registerBeanDefinition ( "testBean" , new RootBeanDefinition ( TestBean . class ) ) ;
@ -553,7 +553,7 @@ class InjectAnnotationBeanPostProcessorTests {
@@ -553,7 +553,7 @@ class InjectAnnotationBeanPostProcessorTests {
}
@Test
void testO ptionalMethodInjectionWithBeanNotAvailable( ) {
void o ptionalMethodInjectionWithBeanNotAvailable( ) {
bf . registerBeanDefinition ( "annotatedBean" , new RootBeanDefinition ( OptionalMethodInjectionBean . class ) ) ;
OptionalMethodInjectionBean bean = ( OptionalMethodInjectionBean ) bf . getBean ( "annotatedBean" ) ;
@ -561,7 +561,7 @@ class InjectAnnotationBeanPostProcessorTests {
@@ -561,7 +561,7 @@ class InjectAnnotationBeanPostProcessorTests {
}
@Test
void testO ptionalListFieldInjectionWithBeanAvailable( ) {
void o ptionalListFieldInjectionWithBeanAvailable( ) {
bf . registerBeanDefinition ( "annotatedBean" , new RootBeanDefinition ( OptionalListFieldInjectionBean . class ) ) ;
bf . registerBeanDefinition ( "testBean" , new RootBeanDefinition ( TestBean . class ) ) ;
@ -572,7 +572,7 @@ class InjectAnnotationBeanPostProcessorTests {
@@ -572,7 +572,7 @@ class InjectAnnotationBeanPostProcessorTests {
}
@Test
void testO ptionalListFieldInjectionWithBeanNotAvailable( ) {
void o ptionalListFieldInjectionWithBeanNotAvailable( ) {
bf . registerBeanDefinition ( "annotatedBean" , new RootBeanDefinition ( OptionalListFieldInjectionBean . class ) ) ;
OptionalListFieldInjectionBean bean = ( OptionalListFieldInjectionBean ) bf . getBean ( "annotatedBean" ) ;
@ -580,7 +580,7 @@ class InjectAnnotationBeanPostProcessorTests {
@@ -580,7 +580,7 @@ class InjectAnnotationBeanPostProcessorTests {
}
@Test
void testO ptionalListMethodInjectionWithBeanAvailable( ) {
void o ptionalListMethodInjectionWithBeanAvailable( ) {
bf . registerBeanDefinition ( "annotatedBean" , new RootBeanDefinition ( OptionalListMethodInjectionBean . class ) ) ;
bf . registerBeanDefinition ( "testBean" , new RootBeanDefinition ( TestBean . class ) ) ;
@ -591,7 +591,7 @@ class InjectAnnotationBeanPostProcessorTests {
@@ -591,7 +591,7 @@ class InjectAnnotationBeanPostProcessorTests {
}
@Test
void testO ptionalListMethodInjectionWithBeanNotAvailable( ) {
void o ptionalListMethodInjectionWithBeanNotAvailable( ) {
bf . registerBeanDefinition ( "annotatedBean" , new RootBeanDefinition ( OptionalListMethodInjectionBean . class ) ) ;
OptionalListMethodInjectionBean bean = ( OptionalListMethodInjectionBean ) bf . getBean ( "annotatedBean" ) ;
@ -599,7 +599,7 @@ class InjectAnnotationBeanPostProcessorTests {
@@ -599,7 +599,7 @@ class InjectAnnotationBeanPostProcessorTests {
}
@Test
void testP roviderOfOptionalFieldInjectionWithBeanAvailable( ) {
void p roviderOfOptionalFieldInjectionWithBeanAvailable( ) {
bf . registerBeanDefinition ( "annotatedBean" , new RootBeanDefinition ( ProviderOfOptionalFieldInjectionBean . class ) ) ;
bf . registerBeanDefinition ( "testBean" , new RootBeanDefinition ( TestBean . class ) ) ;
@ -610,7 +610,7 @@ class InjectAnnotationBeanPostProcessorTests {
@@ -610,7 +610,7 @@ class InjectAnnotationBeanPostProcessorTests {
}
@Test
void testP roviderOfOptionalFieldInjectionWithBeanNotAvailable( ) {
void p roviderOfOptionalFieldInjectionWithBeanNotAvailable( ) {
bf . registerBeanDefinition ( "annotatedBean" , new RootBeanDefinition ( ProviderOfOptionalFieldInjectionBean . class ) ) ;
ProviderOfOptionalFieldInjectionBean bean = ( ProviderOfOptionalFieldInjectionBean ) bf . getBean ( "annotatedBean" ) ;
@ -618,7 +618,7 @@ class InjectAnnotationBeanPostProcessorTests {
@@ -618,7 +618,7 @@ class InjectAnnotationBeanPostProcessorTests {
}
@Test
void testP roviderOfOptionalMethodInjectionWithBeanAvailable( ) {
void p roviderOfOptionalMethodInjectionWithBeanAvailable( ) {
bf . registerBeanDefinition ( "annotatedBean" , new RootBeanDefinition ( ProviderOfOptionalMethodInjectionBean . class ) ) ;
bf . registerBeanDefinition ( "testBean" , new RootBeanDefinition ( TestBean . class ) ) ;
@ -629,7 +629,7 @@ class InjectAnnotationBeanPostProcessorTests {
@@ -629,7 +629,7 @@ class InjectAnnotationBeanPostProcessorTests {
}
@Test
void testP roviderOfOptionalMethodInjectionWithBeanNotAvailable( ) {
void p roviderOfOptionalMethodInjectionWithBeanNotAvailable( ) {
bf . registerBeanDefinition ( "annotatedBean" , new RootBeanDefinition ( ProviderOfOptionalMethodInjectionBean . class ) ) ;
ProviderOfOptionalMethodInjectionBean bean = ( ProviderOfOptionalMethodInjectionBean ) bf . getBean ( "annotatedBean" ) ;
@ -637,7 +637,7 @@ class InjectAnnotationBeanPostProcessorTests {
@@ -637,7 +637,7 @@ class InjectAnnotationBeanPostProcessorTests {
}
@Test
void testA nnotatedDefaultConstructor( ) {
void a nnotatedDefaultConstructor( ) {
bf . registerBeanDefinition ( "annotatedBean" , new RootBeanDefinition ( AnnotatedDefaultConstructorBean . class ) ) ;
assertThat ( bf . getBean ( "annotatedBean" ) ) . isNotNull ( ) ;