|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ContinuedGivenState
Interface describing methods that can be executed after the first "given" state has been supplied. Either more "given" state can be appended, or a transition to the definition of "when" can be made.
| Method Summary | |
|---|---|
GivenAggregateEventPublisher |
andThenAggregate(Object aggregateIdentifier)
Use this method to indicate that an aggregate with given identifier published certain events. |
ContinuedGivenState |
andThenAPublished(Object event)
Indicates that the given event has been published in the past. |
ContinuedGivenState |
andThenTimeAdvancesTo(org.joda.time.DateTime newDateTime)
Simulate time shifts in the current given state. |
ContinuedGivenState |
andThenTimeElapses(org.joda.time.Duration elapsedTime)
Simulate time shifts in the current given state. |
| Methods inherited from interface org.axonframework.test.saga.WhenState |
|---|
whenAggregate, whenPublishingA, whenTimeAdvancesTo, whenTimeElapses |
| Method Detail |
|---|
GivenAggregateEventPublisher andThenAggregate(Object aggregateIdentifier)
andThenAggregate(someIdentifier).published(someEvents)
aggregateIdentifier - The identifier of the aggregate the events should appear to come from
ContinuedGivenState andThenTimeElapses(org.joda.time.Duration elapsedTime)
elapsedTime - The amount of time that will elapse
ContinuedGivenState andThenTimeAdvancesTo(org.joda.time.DateTime newDateTime)
newDateTime - The time to advance the clock to
ContinuedGivenState andThenAPublished(Object event)
event has been published in the past. This event is sent to the associated
sagas.
event - The event to publish
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||