diff --git a/spring-test/src/main/java/org/springframework/test/context/event/RecordApplicationEvents.java b/spring-test/src/main/java/org/springframework/test/context/event/RecordApplicationEvents.java index 542fbdacabc..804594268d7 100644 --- a/spring-test/src/main/java/org/springframework/test/context/event/RecordApplicationEvents.java +++ b/spring-test/src/main/java/org/springframework/test/context/event/RecordApplicationEvents.java @@ -28,7 +28,8 @@ import java.lang.annotation.Target; * instruct the Spring TestContext Framework to record all * {@linkplain org.springframework.context.ApplicationEvent application events} * that are published in the {@link org.springframework.context.ApplicationContext - * ApplicationContext} during the execution of a single test. + * ApplicationContext} during the execution of a single test, either from the + * test thread or its descendants. * *
The recorded events can be accessed via the {@link ApplicationEvents} API * within your tests.