Uses of Interface
org.axonframework.test.saga.FixtureExecutionResult
Packages that use FixtureExecutionResult
-
Uses of FixtureExecutionResult in org.axonframework.test.saga
Classes in org.axonframework.test.saga that implement FixtureExecutionResultModifier and TypeClassDescriptionclassDefault implementation of FixtureExecutionResult.Methods in org.axonframework.test.saga that return FixtureExecutionResultModifier and TypeMethodDescriptionFixtureExecutionResult.expectActiveSagas(int expected) Expect the given number of Sagas to be active (i.e. ready to respond to incoming events.FixtureExecutionResultImpl.expectActiveSagas(int expected) FixtureExecutionResult.expectAssociationWith(String associationKey, Object associationValue) Asserts that at least one of the active sagas is associated with the givenassociationKeyandassociationValue.FixtureExecutionResultImpl.expectAssociationWith(String associationKey, Object associationValue) FixtureExecutionResult.expectDeadlinesMet(Object... expected) Deprecated.FixtureExecutionResultImpl.expectDeadlinesMet(Object... expected) FixtureExecutionResult.expectDeadlinesMetMatching(org.hamcrest.Matcher<? extends List<? super DeadlineMessage<?>>> matcher) Deprecated.in favor ofexpectTriggeredDeadlinesMatching(Matcher)FixtureExecutionResultImpl.expectDeadlinesMetMatching(org.hamcrest.Matcher<? extends List<? super DeadlineMessage<?>>> matcher) FixtureExecutionResult.expectDispatchedCommands(Object... commands) Asserts that the given commands have been dispatched in exactly the order given.FixtureExecutionResultImpl.expectDispatchedCommands(Object... expected) FixtureExecutionResult.expectDispatchedCommandsMatching(org.hamcrest.Matcher<? extends List<? super CommandMessage<?>>> matcher) Asserts that the sagas dispatched commands as defined by the givenmatcher.FixtureExecutionResultImpl.expectDispatchedCommandsMatching(org.hamcrest.Matcher<? extends List<? super CommandMessage<?>>> matcher) FixtureExecutionResult.expectNoAssociationWith(String associationKey, Object associationValue) Asserts that at none of the active sagas is associated with the givenassociationKeyandassociationValue.FixtureExecutionResultImpl.expectNoAssociationWith(String associationKey, Object associationValue) FixtureExecutionResult.expectNoDispatchedCommands()Asserts that the sagas did not dispatch any commands.FixtureExecutionResultImpl.expectNoDispatchedCommands()FixtureExecutionResult.expectNoScheduledDeadline(Duration durationToScheduledTime, Object deadline) Asserts that no deadline equal to the givendeadlinehas been scheduled after the givendurationToScheduledTime.FixtureExecutionResult.expectNoScheduledDeadline(Instant scheduledTime, Object deadline) Asserts that no deadline equal to the givendeadlinehas been scheduled at the givenscheduledTime.FixtureExecutionResult.expectNoScheduledDeadline(Instant from, Instant to, Object deadline) Asserts that no deadline equal to the givendeadlinehas been scheduled between thetoandfromtimes, wheretoandfromare inclusive.FixtureExecutionResultImpl.expectNoScheduledDeadline(Duration durationToScheduledTime, Object deadline) FixtureExecutionResultImpl.expectNoScheduledDeadline(Instant scheduledTime, Object deadline) FixtureExecutionResultImpl.expectNoScheduledDeadline(Instant from, Instant to, Object deadline) FixtureExecutionResult.expectNoScheduledDeadlineMatching(Duration durationToScheduledTime, org.hamcrest.Matcher<? super DeadlineMessage<?>> matcher) Asserts that no deadline matching the givenmatchershould be scheduled after the givendurationToScheduledTime.FixtureExecutionResult.expectNoScheduledDeadlineMatching(Instant from, Instant to, org.hamcrest.Matcher<? super DeadlineMessage<?>> matcher) Asserts that no deadline matching the givenmatcherhas been scheduled between thetoandfromtimes, wheretoandfromare inclusive.FixtureExecutionResult.expectNoScheduledDeadlineMatching(Instant scheduledTime, org.hamcrest.Matcher<? super DeadlineMessage<?>> matcher) Asserts that no deadline matching the givenmatcherhas been scheduled at the givenscheduledTime.FixtureExecutionResult.expectNoScheduledDeadlineMatching(org.hamcrest.Matcher<? super DeadlineMessage<?>> matcher) Asserts that no deadline matching the givenmatcheris scheduled.FixtureExecutionResultImpl.expectNoScheduledDeadlineMatching(Duration durationToScheduledTime, org.hamcrest.Matcher<? super DeadlineMessage<?>> matcher) FixtureExecutionResultImpl.expectNoScheduledDeadlineMatching(Instant from, Instant to, org.hamcrest.Matcher<? super DeadlineMessage<?>> matcher) FixtureExecutionResultImpl.expectNoScheduledDeadlineMatching(Instant scheduledTime, org.hamcrest.Matcher<? super DeadlineMessage<?>> matcher) FixtureExecutionResultImpl.expectNoScheduledDeadlineMatching(org.hamcrest.Matcher<? super DeadlineMessage<?>> matcher) FixtureExecutionResult.expectNoScheduledDeadlineOfType(Duration durationToScheduledTime, Class<?> deadlineType) Asserts that no deadline of the givendeadlineTypehas been scheduled at the givendurationToScheduledTime.FixtureExecutionResult.expectNoScheduledDeadlineOfType(Instant scheduledTime, Class<?> deadlineType) Asserts that no deadline with the givendeadlineTypehas been scheduled at the givenscheduledTime.FixtureExecutionResult.expectNoScheduledDeadlineOfType(Instant from, Instant to, Class<?> deadlineType) Asserts that no deadline with the givendeadlineTypehas been scheduled between thetoandfromtimes, wheretoandfromare inclusive.FixtureExecutionResultImpl.expectNoScheduledDeadlineOfType(Duration durationToScheduledTime, Class<?> deadlineType) FixtureExecutionResultImpl.expectNoScheduledDeadlineOfType(Instant scheduledTime, Class<?> deadlineType) FixtureExecutionResultImpl.expectNoScheduledDeadlineOfType(Instant from, Instant to, Class<?> deadlineType) FixtureExecutionResult.expectNoScheduledDeadlines()Asserts that no deadlines are scheduled.FixtureExecutionResultImpl.expectNoScheduledDeadlines()FixtureExecutionResult.expectNoScheduledDeadlineWithName(Duration durationToScheduledTime, String deadlineName) Asserts that no deadline with the givendeadlineNamehas been scheduled after the givendurationToScheduledTime.FixtureExecutionResult.expectNoScheduledDeadlineWithName(Instant scheduledTime, String deadlineName) Asserts that no deadline with the givendeadlineNamehas been scheduled at the givenscheduledTime.FixtureExecutionResult.expectNoScheduledDeadlineWithName(Instant from, Instant to, String deadlineName) Asserts that no deadline with the givendeadlineNamehas been scheduled between thetoandfromtimes, wheretoandfromare inclusive.FixtureExecutionResultImpl.expectNoScheduledDeadlineWithName(Duration durationToScheduledTime, String deadlineName) FixtureExecutionResultImpl.expectNoScheduledDeadlineWithName(Instant scheduledTime, String deadlineName) FixtureExecutionResultImpl.expectNoScheduledDeadlineWithName(Instant from, Instant to, String deadlineName) FixtureExecutionResult.expectNoScheduledEvent(Duration durationToScheduledTime, Object event) Asserts that no event equal to the giveneventhas been scheduled after the givendurationToScheduledTime.FixtureExecutionResult.expectNoScheduledEvent(Instant scheduledTime, Object event) Asserts that no event equal to the giveneventhas been scheduled at the givenscheduledTime.FixtureExecutionResultImpl.expectNoScheduledEvent(Duration durationToScheduledTime, Object event) FixtureExecutionResultImpl.expectNoScheduledEvent(Instant scheduledTime, Object event) FixtureExecutionResult.expectNoScheduledEventMatching(Duration durationToScheduledTime, org.hamcrest.Matcher<? super EventMessage<?>> matcher) Asserts that no event matching the givenmatcherhas been scheduled to be published after the givendurationToScheduledTime.FixtureExecutionResult.expectNoScheduledEventMatching(Instant scheduledTime, org.hamcrest.Matcher<? super EventMessage<?>> matcher) Asserts that no event matching the givenmatcherhas been scheduled at the givenscheduledTime.FixtureExecutionResultImpl.expectNoScheduledEventMatching(Duration durationToScheduledTime, org.hamcrest.Matcher<? super EventMessage<?>> matcher) FixtureExecutionResultImpl.expectNoScheduledEventMatching(Instant scheduledTime, org.hamcrest.Matcher<? super EventMessage<?>> matcher) FixtureExecutionResult.expectNoScheduledEventOfType(Duration durationToScheduledTime, Class<?> eventType) Asserts that no event of the giveneventTypehas been scheduled after the givendurationToScheduledTime.FixtureExecutionResult.expectNoScheduledEventOfType(Instant scheduledTime, Class<?> eventType) Asserts that no event with the giveneventTypehas been scheduled at the givenscheduledTime.FixtureExecutionResultImpl.expectNoScheduledEventOfType(Duration durationToScheduledTime, Class<?> eventType) FixtureExecutionResultImpl.expectNoScheduledEventOfType(Instant scheduledTime, Class<?> eventType) FixtureExecutionResult.expectNoScheduledEvents()Assert that no events are scheduled for publication.FixtureExecutionResultImpl.expectNoScheduledEvents()FixtureExecutionResult.expectPublishedEvents(Object... expected) Assert that the saga published events on the EventBus in the exact sequence of the givenexpectedevents.FixtureExecutionResultImpl.expectPublishedEvents(Object... expected) FixtureExecutionResult.expectPublishedEventsMatching(org.hamcrest.Matcher<? extends List<? super EventMessage<?>>> matcher) Assert that the saga published events on the EventBus as defined by the givenmatcher.FixtureExecutionResultImpl.expectPublishedEventsMatching(org.hamcrest.Matcher<? extends List<? super EventMessage<?>>> matcher) FixtureExecutionResult.expectScheduledDeadline(Duration duration, Object deadline) Asserts that a deadline equal to the givendeadlinehas been scheduled after the givenduration.FixtureExecutionResult.expectScheduledDeadline(Instant scheduledTime, Object deadline) Asserts that a deadline equal to the givendeadlinehas been scheduled at the givenscheduledTime.FixtureExecutionResultImpl.expectScheduledDeadline(Duration duration, Object deadline) FixtureExecutionResultImpl.expectScheduledDeadline(Instant scheduledTime, Object deadline) FixtureExecutionResult.expectScheduledDeadlineMatching(Duration duration, org.hamcrest.Matcher<? super DeadlineMessage<?>> matcher) Asserts that a deadline scheduled after givendurationmatches the givenmatcher.FixtureExecutionResult.expectScheduledDeadlineMatching(Instant scheduledTime, org.hamcrest.Matcher<? super DeadlineMessage<?>> matcher) Asserts that a deadline matching the givenmatcherhas been scheduled at the givenscheduledTime.FixtureExecutionResultImpl.expectScheduledDeadlineMatching(Duration duration, org.hamcrest.Matcher<? super DeadlineMessage<?>> matcher) FixtureExecutionResultImpl.expectScheduledDeadlineMatching(Instant scheduledTime, org.hamcrest.Matcher<? super DeadlineMessage<?>> matcher) FixtureExecutionResult.expectScheduledDeadlineOfType(Duration duration, Class<?> deadlineType) Asserts that a deadline of the givendeadlineTypehas been scheduled after the givenduration.FixtureExecutionResult.expectScheduledDeadlineOfType(Instant scheduledTime, Class<?> deadlineType) Asserts that a deadline of the givendeadlineTypehas been scheduled at the givenscheduledTime.FixtureExecutionResultImpl.expectScheduledDeadlineOfType(Duration duration, Class<?> deadlineType) FixtureExecutionResultImpl.expectScheduledDeadlineOfType(Instant scheduledTime, Class<?> deadlineType) FixtureExecutionResult.expectScheduledDeadlineWithName(Duration duration, String deadlineName) Asserts that a deadline with the givendeadlineNamehas been scheduled after the givenduration.FixtureExecutionResult.expectScheduledDeadlineWithName(Instant scheduledTime, String deadlineName) Asserts that a deadline with the givendeadlineNamehas been scheduled at the givenscheduledTime.FixtureExecutionResultImpl.expectScheduledDeadlineWithName(Duration duration, String deadlineName) FixtureExecutionResultImpl.expectScheduledDeadlineWithName(Instant scheduledTime, String deadlineName) FixtureExecutionResult.expectScheduledEvent(Duration duration, Object event) Asserts that an event equal to the giveneventhas been scheduled for publication after the givenduration.FixtureExecutionResult.expectScheduledEvent(Instant scheduledTime, Object event) Asserts that an event equal to the giveneventhas been scheduled for publication at the givenscheduledTime.FixtureExecutionResultImpl.expectScheduledEvent(Duration duration, Object applicationEvent) FixtureExecutionResultImpl.expectScheduledEvent(Instant scheduledTime, Object applicationEvent) FixtureExecutionResult.expectScheduledEventMatching(Duration duration, org.hamcrest.Matcher<? super EventMessage<?>> matcher) Asserts that an event matching the givenmatcherhas been scheduled to be published after the givenduration.FixtureExecutionResult.expectScheduledEventMatching(Instant scheduledTime, org.hamcrest.Matcher<? super EventMessage<?>> matcher) Asserts that an event matching the givenmatcherhas been scheduled to be published at the givenscheduledTime.FixtureExecutionResultImpl.expectScheduledEventMatching(Duration duration, org.hamcrest.Matcher<? super EventMessage<?>> matcher) FixtureExecutionResultImpl.expectScheduledEventMatching(Instant scheduledTime, org.hamcrest.Matcher<? super EventMessage<?>> matcher) FixtureExecutionResult.expectScheduledEventOfType(Duration duration, Class<?> eventType) Asserts that an event of the giveneventTypehas been scheduled for publication after the givenduration.FixtureExecutionResult.expectScheduledEventOfType(Instant scheduledTime, Class<?> eventType) Asserts that an event of the giveneventTypehas been scheduled for publication at the givenscheduledTime.FixtureExecutionResultImpl.expectScheduledEventOfType(Duration duration, Class<?> eventType) FixtureExecutionResultImpl.expectScheduledEventOfType(Instant scheduledTime, Class<?> eventType) FixtureExecutionResult.expectSuccessfulHandlerExecution()Expect a successful execution of the given event handler.FixtureExecutionResultImpl.expectSuccessfulHandlerExecution()FixtureExecutionResult.expectTriggeredDeadlines(Object... expected) Asserts that givenexpecteddeadlines have been triggered.FixtureExecutionResultImpl.expectTriggeredDeadlines(Object... expected) FixtureExecutionResult.expectTriggeredDeadlinesMatching(org.hamcrest.Matcher<? extends List<? super DeadlineMessage<?>>> matcher) Asserts that deadlines matching the givenmatcherhave been triggered for this aggregate.FixtureExecutionResultImpl.expectTriggeredDeadlinesMatching(org.hamcrest.Matcher<? extends List<? super DeadlineMessage<?>>> matcher) FixtureExecutionResult.expectTriggeredDeadlinesOfType(Class<?>... expectedDeadlineTypes) Asserts that the givenexpectedDeadlineTypeshave been triggered.FixtureExecutionResultImpl.expectTriggeredDeadlinesOfType(Class<?>... expectedDeadlineTypes) FixtureExecutionResult.expectTriggeredDeadlinesWithName(String... expectedDeadlineNames) Asserts that the givenexpectedDeadlineNameshave been triggered.FixtureExecutionResultImpl.expectTriggeredDeadlinesWithName(String... expectedDeadlineNames) Register the giveneventto be published on behalf of an aggregate.Register the giveneventto be published on behalf of an aggregate, with given additionalmetaData.SagaTestFixture.whenPublishingA(Object event) SagaTestFixture.whenPublishingA(Object event, Map<String, ?> metaData) WhenState.whenPublishingA(Object event) Use this method to indicate an application is published, while recording the outcome.WhenState.whenPublishingA(Object event, Map<String, ?> metaData) Use this method to indicate an application is published with given additionalmetaData, while recording the outcome.SagaTestFixture.whenTimeAdvancesTo(Instant newDateTime) WhenState.whenTimeAdvancesTo(Instant newDateTime) Mimic an elapsed time with no relevant activity for the Saga.SagaTestFixture.whenTimeElapses(Duration elapsedTime) WhenState.whenTimeElapses(Duration elapsedTime) Mimic an elapsed time with no relevant activity for the Saga.
expectTriggeredDeadlines(Object...)