org.axonframework.test.saga
Interface GivenAggregateEventPublisher
public interface GivenAggregateEventPublisher
Interface to an object that publishes events on behalf of an aggregate. The sequence number on the events must be
exactly sequential per aggregate.
- Since:
- 1.1
- Author:
- Allard Buijze
published
ContinuedGivenState published(Object... events)
- Register the given
events
as being published somewhere in the past. These events are used to
prepare
the state of Sagas listening to them. Any commands or events sent out by the saga as reaction to these events is
ignored.
- Parameters:
events
- The events published by the aggregate
- Returns:
- a reference to the fixture to support a fluent interface
Copyright © 2010-2016. All Rights Reserved.