# Package org.springframework.test.context.bean.override

@NonNullApi @NonNullFields package org.springframework.test.context.bean.override
Support case-by-case Bean overriding in Spring tests.

Related Packages
Package
Description
org.springframework.test.context.bean.override.convention
Bean override mechanism based on conventionally-named static methods in the test class.
org.springframework.test.context.bean.override.mockito
Bean overriding mechanism based on Mockito mocking and spying.
Class
Description
BeanOverride
Mark a composed annotation as eligible for Bean Override processing.
BeanOverrideHandler
Handler for Bean Override injection points that is responsible for creating the bean override instance for a given set of metadata and potentially for tracking the created instance.
BeanOverrideProcessor
Strategy interface for Bean Override processing, which creates `BeanOverrideHandler` instances that drive how target beans are overridden.
BeanOverrideStrategy
Strategies for bean override processing.
BeanOverrideTestExecutionListener
`TestExecutionListener` that enables `@BeanOverride` support in tests, by injecting overridden beans in appropriate fields of the test instance.