Documentation
¶
Overview ¶
Package eventsfake provides test helpers for events.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Fake ¶
type Fake struct {
// contains filtered or unexported fields
}
Fake provides an assertion-oriented event bus test harness.
func (*Fake) AssertCount ¶
AssertCount verifies the number of recorded publishes.
func (*Fake) AssertNothingPublished ¶
AssertNothingPublished verifies that no publishes were recorded.
Click to show internal directories.
Click to hide internal directories.