Annotation 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.
This annotation will be inherited from an enclosing test class by default. See
@NestedTestConfiguration
for details.
- Since:
- 5.3.3
- Author:
- Sam Brannen
- See Also: