It is currently unclear what the visibility requirements for bean overrides are – for @TestBean fields and factory methods as well as @MockitoBean and @MockitoSpyBean fields.

There actually are no visibility requirements. Developers are free to choose the visibility they desire/need, and we should make that clear in the documentation.