Skip to content
SkilVault
Sign inGet started

spring-event-unit-tests

Testing & Quality
Signed by SkilVault

Unit tests Spring application events without booting a full context — mocking the publisher, capturing payloads, asserting listener effects and error policies, and handling conditional and async listeners correctly. Use when the user says "test ApplicationEventPublisher", "verify my @EventListener fires", "test event payload contents", "test async event handling", or "make event tests fast". Not for Spring integration tests that need a booted context, for Kafka/MQTT messaging, or for framework behavior itself.

Version
v1.0.1
Size
11 KB
Updated
2026-10-06
$ skilvault read --manual spring-event-unit-tests

Your client verifies the signature before reading. This explicit manual read is available on every plan. Free automatically loads five chosen skills; paid plans automatically load relevant skills across the library.