@Target(value=TYPE) @Retention(value=RUNTIME) @Documented @Inherited public @interface RecordApplicationEvents
@RecordApplicationEvents
is a class-level annotation that is used to
instruct the Spring TestContext Framework to record all
application events
that are published in the ApplicationContext
during the execution of a single test.
The recorded events can be accessed via the ApplicationEvents
API
within your tests.
This annotation may be used as a meta-annotation to create custom composed annotations.
ApplicationEvents
,
ApplicationEventsTestExecutionListener