Class MockitoPostProcessor

java.lang.Object
org.springframework.boot.test.mock.mockito.MockitoPostProcessor
All Implemented Interfaces:
Aware, BeanClassLoaderAware, BeanFactoryAware, BeanFactoryPostProcessor, BeanPostProcessor, InstantiationAwareBeanPostProcessor, Ordered

Deprecated.
since 3.4.0 for removal in 3.6.0 in favor of Spring Framework's MockitoBean and MockitoSpyBean support
A BeanFactoryPostProcessor used to register and inject @MockBeans with the ApplicationContext. An initial set of definitions can be passed to the processor with additional definitions being automatically created from @Configuration classes that use @MockBean.
Since:
1.4.0
Author:
Phillip Webb, Andy Wilkinson, Stephane Nicoll, Andreas Neiser