Uses of Annotation Interface
org.springframework.test.context.bean.override.BeanOverride
Packages that use BeanOverride
Package
Description
Bean override mechanism based on conventionally-named static methods
in the test class.
Bean overriding mechanism based on Mockito mocking and spying.
- 
Uses of BeanOverride in org.springframework.test.context.bean.override.conventionClasses in org.springframework.test.context.bean.override.convention with annotations of type BeanOverrideModifier and TypeClassDescription@interface@TestBeanis an annotation that can be applied to a non-static field in a test class to override a bean in the test'sApplicationContextusing a static factory method.
- 
Uses of BeanOverride in org.springframework.test.context.bean.override.mockitoClasses in org.springframework.test.context.bean.override.mockito with annotations of type BeanOverrideModifier and TypeClassDescription@interface@MockitoBeanis an annotation that can be used in test classes to override a bean in the test'sApplicationContextwith a Mockito mock.@interface@MockitoSpyBeanis an annotation that can be used in test classes to override a bean in the test'sApplicationContextwith a Mockito spy that wraps the original bean instance.