mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-10-01 11:49:04 +00:00
For bean override support (@MockitoBean, @TestBean, etc.), the logic for field injection previously resided in the BeanOverrideRegistry which resulted in a strange mixture of concerns. To address that, this commit moves the field injection logic to the BeanOverrideTestExecutionListener, and the BeanOverrideRegistry now serves a single role, namely the role of a registry. Closes gh-34726