Class ResetMocksTestExecutionListener

java.lang.Object
org.springframework.test.context.support.AbstractTestExecutionListener
org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener
All Implemented Interfaces:
Ordered, TestExecutionListener

@Deprecated(since="3.4.0", forRemoval=true) public class ResetMocksTestExecutionListener extends AbstractTestExecutionListener
Deprecated, for removal: This API element is subject to removal in a future version.
since 3.4.0 for removal in 3.6.0 in favor of MockitoResetTestExecutionListener
TestExecutionListener to reset any mock beans that have been marked with a MockReset. Typically used alongside MockitoTestExecutionListener.
Since:
1.4.0
Author:
Phillip Webb
See Also: