| Package | Description | 
|---|---|
| org.axonframework.test.saga | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
FixtureExecutionResultImpl<T>
Default implementation of FixtureExecutionResult. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
FixtureExecutionResult | 
FixtureExecutionResultImpl.expectActiveSagas(int expected)  | 
FixtureExecutionResult | 
FixtureExecutionResult.expectActiveSagas(int expected)
Expect the given number of Sagas to be active (i.e. 
 | 
FixtureExecutionResult | 
FixtureExecutionResultImpl.expectAssociationWith(String associationKey,
                     Object associationValue)  | 
FixtureExecutionResult | 
FixtureExecutionResult.expectAssociationWith(String associationKey,
                     Object associationValue)
Asserts that at least one of the active sagas is associated with the given  
associationKey and
 associationValue. | 
FixtureExecutionResult | 
FixtureExecutionResultImpl.expectDispatchedCommands(Object... expected)  | 
FixtureExecutionResult | 
FixtureExecutionResult.expectDispatchedCommands(Object... commands)
Asserts that the given commands have been dispatched in exactly the order given. 
 | 
FixtureExecutionResult | 
FixtureExecutionResultImpl.expectDispatchedCommandsMatching(org.hamcrest.Matcher<? extends List<? super CommandMessage<?>>> matcher)  | 
FixtureExecutionResult | 
FixtureExecutionResult.expectDispatchedCommandsMatching(org.hamcrest.Matcher<? extends List<? super CommandMessage<?>>> matcher)
Asserts that the sagas dispatched commands as defined by the given  
matcher. | 
FixtureExecutionResult | 
FixtureExecutionResultImpl.expectNoAssociationWith(String associationKey,
                       Object associationValue)  | 
FixtureExecutionResult | 
FixtureExecutionResult.expectNoAssociationWith(String associationKey,
                       Object associationValue)
Asserts that at none of the active sagas is associated with the given  
associationKey and
 associationValue. | 
FixtureExecutionResult | 
FixtureExecutionResultImpl.expectNoDispatchedCommands()  | 
FixtureExecutionResult | 
FixtureExecutionResult.expectNoDispatchedCommands()
Asserts that the sagas did not dispatch any commands. 
 | 
FixtureExecutionResult | 
FixtureExecutionResultImpl.expectNoScheduledEvents()  | 
FixtureExecutionResult | 
FixtureExecutionResult.expectNoScheduledEvents()
Assert that no events are scheduled for publication. 
 | 
FixtureExecutionResult | 
FixtureExecutionResultImpl.expectPublishedEvents(Object... expected)  | 
FixtureExecutionResult | 
FixtureExecutionResult.expectPublishedEvents(Object... expected)
Assert that the saga published events on the EventBus in the exact sequence of the given  
expected
 events. | 
FixtureExecutionResult | 
FixtureExecutionResultImpl.expectPublishedEventsMatching(org.hamcrest.Matcher<? extends List<? super EventMessage<?>>> matcher)  | 
FixtureExecutionResult | 
FixtureExecutionResult.expectPublishedEventsMatching(org.hamcrest.Matcher<? extends List<? super EventMessage<?>>> matcher)
Assert that the saga published events on the EventBus as defined by the given  
matcher. | 
FixtureExecutionResult | 
FixtureExecutionResultImpl.expectScheduledEvent(Duration duration,
                    Object applicationEvent)  | 
FixtureExecutionResult | 
FixtureExecutionResult.expectScheduledEvent(Duration duration,
                    Object event)
Asserts that an event equal to the given ApplicationEvent has been scheduled for publication after the given
  
duration. | 
FixtureExecutionResult | 
FixtureExecutionResultImpl.expectScheduledEvent(Instant scheduledTime,
                    Object applicationEvent)  | 
FixtureExecutionResult | 
FixtureExecutionResult.expectScheduledEvent(Instant scheduledTime,
                    Object event)
Asserts that an event equal to the given ApplicationEvent has been scheduled for publication at the given
  
scheduledTime. | 
FixtureExecutionResult | 
FixtureExecutionResultImpl.expectScheduledEventMatching(Duration duration,
                            org.hamcrest.Matcher<? super EventMessage<?>> matcher)  | 
FixtureExecutionResult | 
FixtureExecutionResult.expectScheduledEventMatching(Duration duration,
                            org.hamcrest.Matcher<? super EventMessage<?>> matcher)
Asserts that an event matching the given  
matcher has been scheduled to be published after the given
 duration. | 
FixtureExecutionResult | 
FixtureExecutionResultImpl.expectScheduledEventMatching(Instant scheduledTime,
                            org.hamcrest.Matcher<? super EventMessage<?>> matcher)  | 
FixtureExecutionResult | 
FixtureExecutionResult.expectScheduledEventMatching(Instant scheduledTime,
                            org.hamcrest.Matcher<? super EventMessage<?>> matcher)
Asserts that an event matching the given  
matcher has been scheduled to be published at the given
 scheduledTime. | 
FixtureExecutionResult | 
FixtureExecutionResultImpl.expectScheduledEventOfType(Duration duration,
                          Class<?> eventType)  | 
FixtureExecutionResult | 
FixtureExecutionResult.expectScheduledEventOfType(Duration duration,
                          Class<?> eventType)
Asserts that an event of the given  
eventType has been scheduled for publication after the given
 duration. | 
FixtureExecutionResult | 
FixtureExecutionResultImpl.expectScheduledEventOfType(Instant scheduledTime,
                          Class<?> eventType)  | 
FixtureExecutionResult | 
FixtureExecutionResult.expectScheduledEventOfType(Instant scheduledTime,
                          Class<?> eventType)
Asserts that an event of the given  
eventType has been scheduled for publication at the given
 scheduledTime. | 
FixtureExecutionResult | 
WhenAggregateEventPublisher.publishes(Object event)
Register the given  
event to be published on behalf of an aggregate. | 
FixtureExecutionResult | 
WhenState.whenPublishingA(Object event)
Use this method to indicate an application is published, while recording the outcome. 
 | 
FixtureExecutionResult | 
SagaTestFixture.whenPublishingA(Object event)  | 
FixtureExecutionResult | 
WhenState.whenTimeAdvancesTo(Instant newDateTime)
Mimic an elapsed time with no relevant activity for the Saga. 
 | 
FixtureExecutionResult | 
SagaTestFixture.whenTimeAdvancesTo(Instant newDateTime)  | 
FixtureExecutionResult | 
WhenState.whenTimeElapses(Duration elapsedTime)
Mimic an elapsed time with no relevant activity for the Saga. 
 | 
FixtureExecutionResult | 
SagaTestFixture.whenTimeElapses(Duration elapsedTime)  | 
Copyright © 2010–2018. All rights reserved.