ehtest

package
v0.0.0-...-da7a406 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 12, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertEvents

func AssertEvents(t *testing.T, aggregateID uuid.UUID, expected ...Event)

AssertEvents todo

func LoadStartupEvents

func LoadStartupEvents(t *testing.T, aggregateID uuid.UUID, expected ...Event)

LoadStartupEvents todo

func NewMemoryFixture

func NewMemoryFixture(aggregateType eh.AggregateType, fixtureTime time.Time) (ctx context.Context,
	bus *eventbus.EventBus,
	store *eventstore.EventStore,
	commandBus *cb.CommandHandler)

NewMemoryFixture todo

Types

type Event

type Event struct {
	Type eh.EventType
	Data eh.EventData
}

Event is used to load startup events

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL