mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-24 07:39:09 +00:00
This commit verifies that MockReset.before() and MockReset.after() are supported for beans within the ApplicationContext. However, the test class must declare a field annotated with either @MockitoBean or @MockitoSpyBean in order for the MockReset feature to be triggered. See gh-33742