The Claims:
When a {@code @ContextConfiguration} test class references a config classmissing an {@code @Configuration} annotation, {@code @Bean} dependencies arewired successfully but the bean lifecycle is not applied (no init methods are invoked, for example). Adding the missing {@code @Configuration} annotationsolves the problem, however the problem and solution isn't obvious since wiring/injection appeared to work.@author Sam Brannen @author Phillip Webb @since 3.2
|
|
|
|
|
|
|
|
|
|
|
|