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.convention
Classes in org.springframework.test.context.bean.override.convention with annotations of type BeanOverrideModifier and TypeClassDescription@interface
Mark a field to override a bean definition in theBeanFactory
. -
Uses of BeanOverride in org.springframework.test.context.bean.override.mockito
Classes in org.springframework.test.context.bean.override.mockito with annotations of type BeanOverrideModifier and TypeClassDescription@interface
Mark a field to trigger a bean override using a Mockito mock.@interface
Mark a field to trigger a bean override using a Mockito spy, which will wrap the original instance.