Overview
Bean Overrides for tests (@TestBean, @MockitoBean, etc.) honor @Primary semantics but do not yet honor @Fallback which was introduced in Spring Framework 6.2.
We should therefore support @Fallback semantics in our bean override matching algorithm as well.
Related Issues