Test Spring events without booting the full context.
application event testing
Guides unit testing of Spring application-event publishers, listeners, payloads, side effects, and asynchronous handlers.
When to use it
Use when writing tests for event publishers or listeners, including asynchronous handlers and mocked publishers.
It changes how the agent writes unit tests for Spring application-event publishers and listeners.
What you provide
No additional actions listed in the analysis.
The project needs the spring-boot-starter dependency.
The project needs JUnit 5 through the junit-jupiter test dependency.
The project needs the mockito-core test dependency.
The project needs the assertj-core test dependency.