Uses of Interface
org.axonframework.test.saga.FixtureExecutionResult
Packages that use FixtureExecutionResult
-
Uses of FixtureExecutionResult in org.axonframework.test.saga
Methods in org.axonframework.test.saga that return FixtureExecutionResultModifier and TypeMethodDescriptionFixtureExecutionResult.expectActiveSagas(int expected) Asserts that the repository contains the givenexpectedamount of active Sagas.FixtureExecutionResult.expectAssociationWith(String associationKey, Object associationValue) Asserts that at least one of the active Sagas is associated with the givenassociationKeyandassociationValue.FixtureExecutionResult.expectDeadlinesMet(Object... expected) Deprecated.FixtureExecutionResult.expectDeadlinesMetMatching(org.hamcrest.Matcher<? extends List<?>> matcher) Deprecated.in favor ofexpectTriggeredDeadlinesMatching(Matcher)FixtureExecutionResult.expectDispatchedCommands(Object... commands) Asserts that the Sagas dispatched the given commands, in the exact sequence given.FixtureExecutionResult.expectDispatchedCommandsMatching(org.hamcrest.Matcher<? extends List<? super CommandMessage>> matcher) Asserts that the Sagas dispatched commands matching the givenmatcher.FixtureExecutionResult.expectNoAssociationWith(String associationKey, Object associationValue) Asserts that none of the active Sagas is associated with the givenassociationKeyandassociationValue.FixtureExecutionResult.expectNoDispatchedCommands()Asserts that the Sagas dispatched no commands.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.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.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.FixtureExecutionResult.expectNoScheduledDeadlines()Asserts that no deadlines are scheduled.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.FixtureExecutionResult.expectNoScheduledEvent(Duration durationToScheduledTime, Object event) Asserts that the giveneventis not scheduled after the given duration.FixtureExecutionResult.expectNoScheduledEvent(Instant scheduledTime, Object event) Asserts that the giveneventis not scheduled at the givenscheduledTime.FixtureExecutionResult.expectNoScheduledEventMatching(Duration durationToScheduledTime, org.hamcrest.Matcher<? super EventMessage> matcher) Asserts that no event matching the givenmatcheris scheduled after the given duration.FixtureExecutionResult.expectNoScheduledEventMatching(Instant scheduledTime, org.hamcrest.Matcher<? super EventMessage> matcher) Asserts that no event matching the givenmatcheris scheduled at the givenscheduledTime.FixtureExecutionResult.expectNoScheduledEventOfType(Duration durationToScheduledTime, Class<?> eventType) Asserts that no event of the giveneventTypeis scheduled after the given duration.FixtureExecutionResult.expectNoScheduledEventOfType(Instant scheduledTime, Class<?> eventType) Asserts that no event of the giveneventTypeis scheduled at the givenscheduledTime.FixtureExecutionResult.expectNoScheduledEvents()Asserts that no events are scheduled.FixtureExecutionResult.expectPublishedEvents(Object... expected) Asserts that the Sagas published the given events, in the exact sequence given.FixtureExecutionResult.expectPublishedEventsMatching(org.hamcrest.Matcher<? extends List<? super EventMessage>> matcher) Asserts that the Sagas published events matching the givenmatcher.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.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.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.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.FixtureExecutionResult.expectScheduledEvent(Duration duration, Object applicationEvent) Asserts that the givenapplicationEventis scheduled after the givenduration.FixtureExecutionResult.expectScheduledEvent(Instant scheduledTime, Object applicationEvent) Asserts that the givenapplicationEventis scheduled at the givenscheduledTime.FixtureExecutionResult.expectScheduledEventMatching(Duration duration, org.hamcrest.Matcher<? super EventMessage> matcher) Asserts that an event matching the givenmatcheris scheduled after the givenduration.FixtureExecutionResult.expectScheduledEventMatching(Instant scheduledTime, org.hamcrest.Matcher<? super EventMessage> matcher) Asserts that an event matching the givenmatcheris scheduled at the givenscheduledTime.FixtureExecutionResult.expectScheduledEventOfType(Duration duration, Class<?> eventType) Asserts that an event of the giveneventTypeis scheduled after the givenduration.FixtureExecutionResult.expectScheduledEventOfType(Instant scheduledTime, Class<?> eventType) Asserts that an event of the giveneventTypeis scheduled at the givenscheduledTime.FixtureExecutionResult.expectSuccessfulHandlerExecution()Asserts that the Saga handled the "when" event without failing.FixtureExecutionResult.expectTriggeredDeadlines(Object... expected) Asserts that givenexpecteddeadlines have been triggered.FixtureExecutionResult.expectTriggeredDeadlinesMatching(org.hamcrest.Matcher<? extends List<?>> matcher) Asserts that deadlines matching the givenmatcherhave been triggered for this saga.FixtureExecutionResult.expectTriggeredDeadlinesOfType(Class<?>... expectedDeadlineTypes) Asserts that the givenexpectedDeadlineTypeshave been triggered.FixtureExecutionResult.expectTriggeredDeadlinesWithName(String... expectedDeadlineNames) Asserts that the givenexpectedDeadlineNameshave been triggered.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, String> metadata) WhenState.whenPublishingA(Object event) Use this method to indicate an event is published, while recording the outcome.WhenState.whenPublishingA(Object event, Map<String, String> metadata) Use this method to indicate an event 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...)