Package | Description |
---|---|
org.axonframework.test.saga |
Modifier and Type | Class and Description |
---|---|
class |
SagaTestFixture<T>
Fixture for testing Annotated Sagas based on events and time passing.
|
Modifier and Type | Method and Description |
---|---|
ContinuedGivenState |
ContinuedGivenState.andThenAPublished(Object event)
Indicates that the given
event has been published in the past. |
ContinuedGivenState |
SagaTestFixture.andThenAPublished(Object event) |
ContinuedGivenState |
ContinuedGivenState.andThenAPublished(Object event,
Map<String,?> metaData)
Indicates that the given
event with given metaData has been published in the past. |
ContinuedGivenState |
SagaTestFixture.andThenAPublished(Object event,
Map<String,?> metaData) |
ContinuedGivenState |
ContinuedGivenState.andThenTimeAdvancesTo(Instant newDateTime)
Simulate time shifts in the current given state.
|
ContinuedGivenState |
SagaTestFixture.andThenTimeAdvancesTo(Instant newDateTime) |
ContinuedGivenState |
ContinuedGivenState.andThenTimeElapses(Duration elapsedTime)
Simulate time shifts in the current given state.
|
ContinuedGivenState |
SagaTestFixture.andThenTimeElapses(Duration elapsedTime) |
ContinuedGivenState |
FixtureConfiguration.givenAPublished(Object event)
Indicates that the given
applicationEvent has been published in the past. |
ContinuedGivenState |
SagaTestFixture.givenAPublished(Object event) |
ContinuedGivenState |
FixtureConfiguration.givenCurrentTime(Instant currentTime)
Use this method to indicate a specific moment as the initial current time "known" by the fixture at the start
of the given state.
|
ContinuedGivenState |
SagaTestFixture.givenCurrentTime(Instant currentTime) |
ContinuedGivenState |
GivenAggregateEventPublisher.published(Object... events)
Register the given
events as being published somewhere in the past. |
Copyright © 2010–2019. All rights reserved.