Skip to main content

Module event

Module event 

Source
Expand description

Mock implementations of Publisher and Subscriber for unit testing without a NATS server.

Structsยง

MockPublisher
In-memory Publisher for use in unit tests.
MockReceivedEvent
A received event wrapper for use in unit tests.
MockSubscriber
Helper for creating test event streams.