| 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 | 
SagaTestFixture.andThenAPublished(Object event)  | 
ContinuedGivenState | 
ContinuedGivenState.andThenAPublished(Object event)
Indicates that the given  
event has been published in the past. | 
ContinuedGivenState | 
SagaTestFixture.andThenTimeAdvancesTo(Instant newDateTime)  | 
ContinuedGivenState | 
ContinuedGivenState.andThenTimeAdvancesTo(Instant newDateTime)
Simulate time shifts in the current given state. 
 | 
ContinuedGivenState | 
SagaTestFixture.andThenTimeElapses(Duration elapsedTime)  | 
ContinuedGivenState | 
ContinuedGivenState.andThenTimeElapses(Duration elapsedTime)
Simulate time shifts in the current given state. 
 | 
ContinuedGivenState | 
SagaTestFixture.givenAPublished(Object event)  | 
ContinuedGivenState | 
FixtureConfiguration.givenAPublished(Object event)
Indicates that the given  
applicationEvent has been published in the past. | 
ContinuedGivenState | 
SagaTestFixture.givenCurrentTime(Instant currentTime)  | 
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 | 
GivenAggregateEventPublisher.published(Object... events)
Register the given  
events as being published somewhere in the past. | 
Copyright © 2010–2018. All rights reserved.