|
25 | 25 | import org.springframework.test.context.support.DependencyInjectionTestExecutionListener;
|
26 | 26 |
|
27 | 27 | /**
|
28 |
| - * {@code TestExecutionListener} that enables {@link MockitoBean @MockitoBean} |
29 |
| - * and {@link MockitoSpyBean @MockitoSpyBean} support. Also triggers setup of a |
30 |
| - * {@link MockitoSession} for each test class that uses these annotations (or any |
31 |
| - * annotations in this package). |
| 28 | + * {@code TestExecutionListener} that manages a {@link MockitoSession} for each |
| 29 | + * test class that uses {@link MockitoBean @MockitoBean}, |
| 30 | + * {@link MockitoSpyBean @MockitoSpyBean}, |
| 31 | + * {@link MockitoBeanSettings @MockitoBeanSettings}, or any annotations from the |
| 32 | + * {@code org.mockito} package. |
32 | 33 | *
|
33 | 34 | * <p>The {@link MockitoSession#setStrictness(Strictness) strictness} of the
|
34 | 35 | * session defaults to {@link Strictness#STRICT_STUBS}. Use
|
35 |
| - * {@link MockitoBeanSettings @MockitoBeanSettings} to specify a different strictness. |
| 36 | + * {@code @MockitoBeanSettings} to specify a different strictness. |
36 | 37 | *
|
37 |
| - * <p>The automatic reset support for {@code @MockitoBean} and {@code @MockitoSpyBean} |
38 |
| - * is handled by the {@link MockitoResetTestExecutionListener}. |
| 38 | + * <p>Dependency injection for {@code @MockitoBean} and {@code @MockitoSpyBean} |
| 39 | + * fields is handled by the |
| 40 | + * {@link org.springframework.test.context.bean.override.BeanOverrideTestExecutionListener |
| 41 | + * BeanOverrideTestExecutionListener}, and automatic reset support for |
| 42 | + * {@code @MockitoBean} and {@code @MockitoSpyBean} is handled by the |
| 43 | + * {@link MockitoResetTestExecutionListener}. |
39 | 44 | *
|
40 | 45 | * @author Simon Baslé
|
41 |
| - * @author Phillip Webb |
42 |
| - * @author Andy Wilkinson |
43 |
| - * @author Moritz Halbritter |
44 | 46 | * @author Sam Brannen
|
45 | 47 | * @since 6.2
|
46 | 48 | * @see MockitoResetTestExecutionListener
|
|
0 commit comments