- accept(T) - Method in interface org.axonframework.test.eventscheduler.EventConsumer
-
Performs this operation on the given argument.
- accept(Field) - Method in class org.axonframework.test.matchers.AllFieldsFilter
-
- accept(Field) - Method in interface org.axonframework.test.matchers.FieldFilter
-
Indicates whether the given field should be accepted for processing, or skipped/ignored.
- accept(Field) - Method in class org.axonframework.test.matchers.IgnoreField
-
- accept(Field) - Method in class org.axonframework.test.matchers.MatchAllFieldFilter
-
- accept(Field) - Method in class org.axonframework.test.matchers.NonStaticFieldsFilter
-
- accept(Field) - Method in class org.axonframework.test.matchers.NonTransientFieldsFilter
-
- activate() - Method in class org.axonframework.test.aggregate.StubAggregateLifecycle
-
Activates this lifecycle instance.
- advanceTimeBy(Duration, DeadlineConsumer) - Method in class org.axonframework.test.deadline.StubDeadlineManager
-
Advances time by the given duration and invokes the given deadlineConsumer for each deadline
scheduled until that time.
- advanceTimeBy(Duration, EventConsumer<EventMessage<?>>) - Method in class org.axonframework.test.eventscheduler.StubEventScheduler
-
Advance time by the given duration and invokes the given eventConsumer for each
event scheduled for publication until that time.
- advanceTimeTo(Instant, DeadlineConsumer) - Method in class org.axonframework.test.deadline.StubDeadlineManager
-
Advances time to the given newDateTime and invokes the given deadlineConsumer for each deadline
scheduled until that time.
- advanceTimeTo(Instant, EventConsumer<EventMessage<?>>) - Method in class org.axonframework.test.eventscheduler.StubEventScheduler
-
Advance time to the given newDateTime and invokes the given eventConsumer for each
event scheduled for publication until that time.
- advanceToNextTrigger() - Method in class org.axonframework.test.deadline.StubDeadlineManager
-
Advances the "current time" of the manager to the next scheduled deadline, and returns that deadline.
- advanceToNextTrigger() - Method in class org.axonframework.test.eventscheduler.StubEventScheduler
-
Advances the "current time" of the scheduler to the next scheduled Event, and returns that event.
- afterEach(ExtensionContext) - Method in class org.axonframework.test.aggregate.StubAggregateLifecycleExtension
-
- AggregateTestFixture<T> - Class in org.axonframework.test.aggregate
-
A test fixture that allows the execution of given-when-then style test cases.
- AggregateTestFixture(Class<T>) - Constructor for class org.axonframework.test.aggregate.AggregateTestFixture
-
Initializes a new given-when-then style test fixture for the given aggregateType.
- AllFieldsFilter - Class in org.axonframework.test.matchers
-
FieldFilter implementation that accepts all Fields.
- andGiven(Object...) - Method in class org.axonframework.test.aggregate.AggregateTestFixture
-
- andGiven(List<?>) - Method in class org.axonframework.test.aggregate.AggregateTestFixture
-
- andGiven(Object...) - Method in interface org.axonframework.test.aggregate.TestExecutor
-
Configures the given domainEvents as the "given" events.
- andGiven(List<?>) - Method in interface org.axonframework.test.aggregate.TestExecutor
-
Configures the given domainEvents as the "given" events.
- andGivenCommands(Object...) - Method in class org.axonframework.test.aggregate.AggregateTestFixture
-
- andGivenCommands(List<?>) - Method in class org.axonframework.test.aggregate.AggregateTestFixture
-
- andGivenCommands(Object...) - Method in interface org.axonframework.test.aggregate.TestExecutor
-
Configures the given commands as the command that will provide the "given" events.
- andGivenCommands(List<?>) - Method in interface org.axonframework.test.aggregate.TestExecutor
-
Configures the given commands as the command that will provide the "given" events.
- andGivenCurrentTime(Instant) - Method in class org.axonframework.test.aggregate.AggregateTestFixture
-
- andGivenCurrentTime(Instant) - Method in interface org.axonframework.test.aggregate.TestExecutor
-
Use this method to indicate a specific moment as the initial current time "known" by the fixture at the start
of the given state.
- andNoMore() - Static method in class org.axonframework.test.matchers.Matchers
-
Matches against null or void.
- andThenAggregate(String) - Method in interface org.axonframework.test.saga.ContinuedGivenState
-
Use this method to indicate that an aggregate with given identifier published certain events.
- andThenAggregate(String) - Method in class org.axonframework.test.saga.SagaTestFixture
-
- andThenAPublished(Object) - Method in interface org.axonframework.test.saga.ContinuedGivenState
-
Indicates that the given event has been published in the past.
- andThenAPublished(Object, Map<String, ?>) - Method in interface org.axonframework.test.saga.ContinuedGivenState
-
Indicates that the given event with given metaData has been published in the past.
- andThenAPublished(Object) - Method in class org.axonframework.test.saga.SagaTestFixture
-
- andThenAPublished(Object, Map<String, ?>) - Method in class org.axonframework.test.saga.SagaTestFixture
-
- andThenTimeAdvancesTo(Instant) - Method in interface org.axonframework.test.aggregate.TestExecutor
-
- andThenTimeAdvancesTo(Instant) - Method in interface org.axonframework.test.saga.ContinuedGivenState
-
Simulate time shifts in the current given state.
- andThenTimeAdvancesTo(Instant) - Method in class org.axonframework.test.saga.SagaTestFixture
-
- andThenTimeElapses(Duration) - Method in interface org.axonframework.test.aggregate.TestExecutor
-
- andThenTimeElapses(Duration) - Method in interface org.axonframework.test.saga.ContinuedGivenState
-
Simulate time shifts in the current given state.
- andThenTimeElapses(Duration) - Method in class org.axonframework.test.saga.SagaTestFixture
-
- apply(Statement, Description) - Method in class org.axonframework.test.aggregate.StubAggregateLifecycleRule
-
Deprecated.
- assertActiveSagas(int) - Method in class org.axonframework.test.saga.RepositoryContentValidator
-
Asserts that the repsitory contains the given expected amount of active sagas.
- assertAssociationPresent(String, String) - Method in class org.axonframework.test.saga.RepositoryContentValidator
-
Asserts that an association is present for the given associationKey and
associationValue.
- assertDeadlinesMet(Object...) - Method in class org.axonframework.test.deadline.DeadlineManagerValidator
-
Asserts that the given expected deadlines have been met (which have passed in time).
- assertDeadlinesMetMatching(Matcher<? extends Iterable<?>>) - Method in class org.axonframework.test.deadline.DeadlineManagerValidator
-
Asserts that deadlines have been met (which have passed in time) match the given matcher.
- assertDispatchedEqualTo(Object...) - Method in class org.axonframework.test.saga.CommandValidator
-
Assert that the given commands have been dispatched in the exact sequence provided.
- assertDispatchedMatching(Matcher<?>) - Method in class org.axonframework.test.saga.CommandValidator
-
Assert that commands matching the given matcher has been dispatched on the command bus.
- assertNoAssociationPresent(String, String) - Method in class org.axonframework.test.saga.RepositoryContentValidator
-
Asserts that no association is present for the given associationKey and
associationValue.
- assertNoScheduledDeadlineMatching(Matcher<?>) - Method in class org.axonframework.test.deadline.DeadlineManagerValidator
-
Asserts that no deadline matching the given matcher has been scheduled.
- assertNoScheduledDeadlines() - Method in class org.axonframework.test.deadline.DeadlineManagerValidator
-
Asserts that no deadlines are scheduled.
- assertNoScheduledEventMatching(Duration, Matcher<?>) - Method in class org.axonframework.test.eventscheduler.EventSchedulerValidator
-
Asserts that no event matching the given matcher has been scheduled after the given duration.
- assertNoScheduledEventMatching(Instant, Matcher<?>) - Method in class org.axonframework.test.eventscheduler.EventSchedulerValidator
-
Asserts that no event matching the given matcher has been scheduled at the given scheduledTime.
- assertNoScheduledEvents() - Method in class org.axonframework.test.eventscheduler.EventSchedulerValidator
-
Asserts that no events are scheduled for publication.
- assertPublishedEvents(Object...) - Method in class org.axonframework.test.saga.EventValidator
-
Assert that the given expected events have been published.
- assertPublishedEventsMatching(Matcher<? extends Iterable<?>>) - Method in class org.axonframework.test.saga.EventValidator
-
Asserts that events have been published matching the given matcher.
- assertScheduledDeadlineMatching(Duration, Matcher<?>) - Method in class org.axonframework.test.deadline.DeadlineManagerValidator
-
Asserts that a deadline scheduled after given duration matches the given matcher.
- assertScheduledDeadlineMatching(Instant, Matcher<?>) - Method in class org.axonframework.test.deadline.DeadlineManagerValidator
-
Asserts that a deadline scheduled at the given scheduledTime matches the given matcher.
- assertScheduledEventMatching(Duration, Matcher<?>) - Method in class org.axonframework.test.eventscheduler.EventSchedulerValidator
-
Asserts that an event matching the given matcher is scheduled for publication after the given duration.
- assertScheduledEventMatching(Instant, Matcher<?>) - Method in class org.axonframework.test.eventscheduler.EventSchedulerValidator
-
Asserts that an event matching the given matcher is scheduled for publication at the given scheduledTime.
- assertValidRecording() - Method in class org.axonframework.test.aggregate.ResultValidatorImpl
-
Makes sure the execution phase has finishes without any Errors ir FixtureExecutionExceptions.
- AutowiredResourceInjector - Class in org.axonframework.test.utils
-
- AutowiredResourceInjector(Iterable<Object>) - Constructor for class org.axonframework.test.utils.AutowiredResourceInjector
-
Deprecated.
Initializes the resource injector to inject to given resources.
- AxonAssertionError - Error in org.axonframework.test
-
Error indication that an Assertion failed during a test case.
- AxonAssertionError(String) - Constructor for error org.axonframework.test.AxonAssertionError
-
Create a new error instance using the given detailMessage.
- EmptyCollectionMatcher<T> - Class in org.axonframework.test.matchers
-
Matches any empty collection.
- EmptyCollectionMatcher(String) - Constructor for class org.axonframework.test.matchers.EmptyCollectionMatcher
-
Creates a matcher of a list of empty items.
- ensureSagaResourcesInitialized() - Method in class org.axonframework.test.saga.SagaTestFixture
-
Initializes the saga resources if it hasn't already done so.
- EqualFieldsMatcher<T> - Class in org.axonframework.test.matchers
-
Matcher that will match an Object if all the fields on that Object contain values equal to the same field in the
expected instance.
- EqualFieldsMatcher(T) - Constructor for class org.axonframework.test.matchers.EqualFieldsMatcher
-
Initializes an EqualFieldsMatcher that will match an object with equal properties as the given
expected object.
- EqualFieldsMatcher(T, FieldFilter) - Constructor for class org.axonframework.test.matchers.EqualFieldsMatcher
-
Initializes an EqualFieldsMatcher that will match an object with equal properties as the given
expected object.
- equals(Object) - Method in class org.axonframework.test.deadline.ScheduledDeadlineInfo
-
- equals(Object) - Method in class org.axonframework.test.eventscheduler.StubScheduleToken
-
- EqualsMatcher<T> - Class in org.axonframework.test.matchers
-
- EqualsMatcher(T) - Constructor for class org.axonframework.test.matchers.EqualsMatcher
-
- equalTo(T) - Static method in class org.axonframework.test.matchers.EqualsMatcher
-
- equalTo(T) - Static method in class org.axonframework.test.matchers.Matchers
-
Matches against each event of the same runtime type that has all field values equal to the fields in the
expected
event.
- equalTo(T, FieldFilter) - Static method in class org.axonframework.test.matchers.Matchers
-
Matches against each event of the same runtime type that has all field values equal to the fields in the
expected
event.
- EventConsumer<T> - Interface in org.axonframework.test.eventscheduler
-
A consumer that allows implementations to throw exceptions.
- EventSchedulerValidator - Class in org.axonframework.test.eventscheduler
-
Helper class for validating events scheduled in a given event scheduler.
- EventSchedulerValidator(StubEventScheduler) - Constructor for class org.axonframework.test.eventscheduler.EventSchedulerValidator
-
Initializes the validator to validate the state of the given eventScheduler.
- EventValidator - Class in org.axonframework.test.saga
-
Helper class for validating events published on a given EventBus.
- EventValidator(EventBus, FieldFilter) - Constructor for class org.axonframework.test.saga.EventValidator
-
Initializes the event validator to monitor the given eventBus.
- ExactSequenceMatcher<T> - Class in org.axonframework.test.matchers
-
A matcher that will match if all the given matchers against the event in a list at their respective
index.
- ExactSequenceMatcher(Matcher<? super T>...) - Constructor for class org.axonframework.test.matchers.ExactSequenceMatcher
-
Construct a matcher that will return true if all the given matchers match against the event with
the same index in a given List if Events.
- exactSequenceOf(Matcher<T>...) - Static method in class org.axonframework.test.matchers.Matchers
-
Matches a List of Events if each of the given matchers matches against the event at the respective
index in the list.
- expectActiveSagas(int) - Method in interface org.axonframework.test.saga.FixtureExecutionResult
-
Expect the given number of Sagas to be active (i.e.
- expectActiveSagas(int) - Method in class org.axonframework.test.saga.FixtureExecutionResultImpl
-
- expectAssociationWith(String, Object) - Method in interface org.axonframework.test.saga.FixtureExecutionResult
-
Asserts that at least one of the active sagas is associated with the given associationKey and associationValue.
- expectAssociationWith(String, Object) - Method in class org.axonframework.test.saga.FixtureExecutionResultImpl
-
- expectDeadlinesMet(Object...) - Method in interface org.axonframework.test.aggregate.ResultValidator
-
Asserts that given expected deadlines have been met (which have passed in time).
- expectDeadlinesMet(Object...) - Method in class org.axonframework.test.aggregate.ResultValidatorImpl
-
- expectDeadlinesMet(Object...) - Method in interface org.axonframework.test.saga.FixtureExecutionResult
-
Asserts that given expected deadlines have been met (which have passed in time).
- expectDeadlinesMet(Object...) - Method in class org.axonframework.test.saga.FixtureExecutionResultImpl
-
- expectDeadlinesMetMatching(Matcher<? extends List<? super DeadlineMessage<?>>>) - Method in interface org.axonframework.test.aggregate.ResultValidator
-
Asserts that deadlines match given matcher have been met (which have passed in time) on this aggregate.
- expectDeadlinesMetMatching(Matcher<? extends List<? super DeadlineMessage<?>>>) - Method in class org.axonframework.test.aggregate.ResultValidatorImpl
-
- expectDeadlinesMetMatching(Matcher<? extends List<? super DeadlineMessage<?>>>) - Method in interface org.axonframework.test.saga.FixtureExecutionResult
-
Asserts that deadlines match given matcher have been met (which have passed in time) on this saga.
- expectDeadlinesMetMatching(Matcher<? extends List<? super DeadlineMessage<?>>>) - Method in class org.axonframework.test.saga.FixtureExecutionResultImpl
-
- expectDispatchedCommands(Object...) - Method in interface org.axonframework.test.saga.FixtureExecutionResult
-
Asserts that the given commands have been dispatched in exactly the order given.
- expectDispatchedCommands(Object...) - Method in class org.axonframework.test.saga.FixtureExecutionResultImpl
-
- expectDispatchedCommandsMatching(Matcher<? extends List<? super CommandMessage<?>>>) - Method in interface org.axonframework.test.saga.FixtureExecutionResult
-
Asserts that the sagas dispatched commands as defined by the given matcher.
- expectDispatchedCommandsMatching(Matcher<? extends List<? super CommandMessage<?>>>) - Method in class org.axonframework.test.saga.FixtureExecutionResultImpl
-
- expectEvents(Object...) - Method in interface org.axonframework.test.aggregate.ResultValidator
-
Expect the given set of events to have been published.
- expectEvents(EventMessage<?>...) - Method in interface org.axonframework.test.aggregate.ResultValidator
-
Expect the given set of events to have been published.
- expectEvents(Object...) - Method in class org.axonframework.test.aggregate.ResultValidatorImpl
-
- expectEvents(EventMessage<?>...) - Method in class org.axonframework.test.aggregate.ResultValidatorImpl
-
- expectEventsMatching(Matcher<? extends List<? super EventMessage<?>>>) - Method in interface org.axonframework.test.aggregate.ResultValidator
-
Expect the published events to match the given matcher.
- expectEventsMatching(Matcher<? extends List<? super EventMessage<?>>>) - Method in class org.axonframework.test.aggregate.ResultValidatorImpl
-
- expectException(Class<? extends Throwable>) - Method in interface org.axonframework.test.aggregate.ResultValidator
-
Expect the given expectedException to occur during command handler execution.
- expectException(Matcher<?>) - Method in interface org.axonframework.test.aggregate.ResultValidator
-
Expect an exception to occur during command handler execution that matches with the given matcher.
- expectException(Class<? extends Throwable>) - Method in class org.axonframework.test.aggregate.ResultValidatorImpl
-
- expectException(Matcher<?>) - Method in class org.axonframework.test.aggregate.ResultValidatorImpl
-
- expectExceptionMessage(Matcher<?>) - Method in interface org.axonframework.test.aggregate.ResultValidator
-
Expect an exception message to occur during command handler execution that matches with the given matcher.
- expectExceptionMessage(String) - Method in interface org.axonframework.test.aggregate.ResultValidator
-
Expect the given exceptionMessage to occur during command handler execution.
- expectExceptionMessage(Matcher<?>) - Method in class org.axonframework.test.aggregate.ResultValidatorImpl
-
- expectExceptionMessage(String) - Method in class org.axonframework.test.aggregate.ResultValidatorImpl
-
- expectMarkedDeleted() - Method in interface org.axonframework.test.aggregate.ResultValidator
-
Asserts that the Aggregate has been marked for deletion.
- expectMarkedDeleted() - Method in class org.axonframework.test.aggregate.ResultValidatorImpl
-
- expectNoAssociationWith(String, Object) - Method in interface org.axonframework.test.saga.FixtureExecutionResult
-
Asserts that at none of the active sagas is associated with the given associationKey and associationValue.
- expectNoAssociationWith(String, Object) - Method in class org.axonframework.test.saga.FixtureExecutionResultImpl
-
- expectNoDispatchedCommands() - Method in interface org.axonframework.test.saga.FixtureExecutionResult
-
Asserts that the sagas did not dispatch any commands.
- expectNoDispatchedCommands() - Method in class org.axonframework.test.saga.FixtureExecutionResultImpl
-
- expectNoEvents() - Method in interface org.axonframework.test.aggregate.ResultValidator
-
Expect no events to have been published from the command.
- expectNoScheduledDeadline(Duration, Object) - Method in interface org.axonframework.test.aggregate.ResultValidator
-
Asserts that no deadline equal to the given deadline has been scheduled after the given durationToScheduledTime.
- expectNoScheduledDeadline(Instant, Object) - Method in interface org.axonframework.test.aggregate.ResultValidator
-
Asserts that no deadline equal to the given deadline has been scheduled at the given scheduledTime.
- expectNoScheduledDeadline(Duration, Object) - Method in class org.axonframework.test.aggregate.ResultValidatorImpl
-
- expectNoScheduledDeadline(Instant, Object) - Method in class org.axonframework.test.aggregate.ResultValidatorImpl
-
- expectNoScheduledDeadline(Duration, Object) - Method in interface org.axonframework.test.saga.FixtureExecutionResult
-
Asserts that no deadline equal to the given deadline has been scheduled after the given durationToScheduledTime.
- expectNoScheduledDeadline(Instant, Object) - Method in interface org.axonframework.test.saga.FixtureExecutionResult
-
Asserts that no deadline equal to the given deadline has been scheduled at the given scheduledTime.
- expectNoScheduledDeadline(Duration, Object) - Method in class org.axonframework.test.saga.FixtureExecutionResultImpl
-
- expectNoScheduledDeadline(Instant, Object) - Method in class org.axonframework.test.saga.FixtureExecutionResultImpl
-
- expectNoScheduledDeadlineMatching(Matcher<? super DeadlineMessage<?>>) - Method in interface org.axonframework.test.aggregate.ResultValidator
-
Asserts that no deadline matching the given matcher is scheduled.
- expectNoScheduledDeadlineMatching(Duration, Matcher<? super DeadlineMessage<?>>) - Method in interface org.axonframework.test.aggregate.ResultValidator
-
Asserts that no deadline matching the given matcher should be scheduled after the given durationToScheduledTime.
- expectNoScheduledDeadlineMatching(Instant, Matcher<? super DeadlineMessage<?>>) - Method in interface org.axonframework.test.aggregate.ResultValidator
-
Asserts that no deadline matching the given matcher has been scheduled at the given scheduledTime.
- expectNoScheduledDeadlineMatching(Matcher<? super DeadlineMessage<?>>) - Method in class org.axonframework.test.aggregate.ResultValidatorImpl
-
- expectNoScheduledDeadlineMatching(Duration, Matcher<? super DeadlineMessage<?>>) - Method in class org.axonframework.test.aggregate.ResultValidatorImpl
-
- expectNoScheduledDeadlineMatching(Instant, Matcher<? super DeadlineMessage<?>>) - Method in class org.axonframework.test.aggregate.ResultValidatorImpl
-
- expectNoScheduledDeadlineMatching(Matcher<? super DeadlineMessage<?>>) - Method in interface org.axonframework.test.saga.FixtureExecutionResult
-
Asserts that no deadline matching the given matcher is scheduled.
- expectNoScheduledDeadlineMatching(Duration, Matcher<? super DeadlineMessage<?>>) - Method in interface org.axonframework.test.saga.FixtureExecutionResult
-
Asserts that no deadline matching the given matcher should be scheduled after the given durationToScheduledTime.
- expectNoScheduledDeadlineMatching(Instant, Matcher<? super DeadlineMessage<?>>) - Method in interface org.axonframework.test.saga.FixtureExecutionResult
-
Asserts that no deadline matching the given matcher has been scheduled at the given scheduledTime.
- expectNoScheduledDeadlineMatching(Matcher<? super DeadlineMessage<?>>) - Method in class org.axonframework.test.saga.FixtureExecutionResultImpl
-
- expectNoScheduledDeadlineMatching(Duration, Matcher<? super DeadlineMessage<?>>) - Method in class org.axonframework.test.saga.FixtureExecutionResultImpl
-
- expectNoScheduledDeadlineMatching(Instant, Matcher<? super DeadlineMessage<?>>) - Method in class org.axonframework.test.saga.FixtureExecutionResultImpl
-
- expectNoScheduledDeadlineOfType(Duration, Class<?>) - Method in interface org.axonframework.test.aggregate.ResultValidator
-
Asserts that no deadline of the given deadlineType has been scheduled after the given durationToScheduledTime.
- expectNoScheduledDeadlineOfType(Instant, Class<?>) - Method in interface org.axonframework.test.aggregate.ResultValidator
-
Asserts that no deadline with the given deadlineType has been scheduled at the given scheduledTime.
- expectNoScheduledDeadlineOfType(Duration, Class<?>) - Method in class org.axonframework.test.aggregate.ResultValidatorImpl
-
- expectNoScheduledDeadlineOfType(Instant, Class<?>) - Method in class org.axonframework.test.aggregate.ResultValidatorImpl
-
- expectNoScheduledDeadlineOfType(Duration, Class<?>) - Method in interface org.axonframework.test.saga.FixtureExecutionResult
-
Asserts that no deadline of the given deadlineType has been scheduled at the given durationToScheduledTime.
- expectNoScheduledDeadlineOfType(Instant, Class<?>) - Method in interface org.axonframework.test.saga.FixtureExecutionResult
-
Asserts that no deadline with the given deadlineType has been scheduled at the given scheduledTime.
- expectNoScheduledDeadlineOfType(Duration, Class<?>) - Method in class org.axonframework.test.saga.FixtureExecutionResultImpl
-
- expectNoScheduledDeadlineOfType(Instant, Class<?>) - Method in class org.axonframework.test.saga.FixtureExecutionResultImpl
-
- expectNoScheduledDeadlines() - Method in interface org.axonframework.test.aggregate.ResultValidator
-
Asserts that no deadlines are scheduled.
- expectNoScheduledDeadlines() - Method in class org.axonframework.test.aggregate.ResultValidatorImpl
-
- expectNoScheduledDeadlines() - Method in interface org.axonframework.test.saga.FixtureExecutionResult
-
Asserts that no deadlines are scheduled.
- expectNoScheduledDeadlines() - Method in class org.axonframework.test.saga.FixtureExecutionResultImpl
-
- expectNoScheduledDeadlineWithName(Duration, String) - Method in interface org.axonframework.test.aggregate.ResultValidator
-
Asserts that no deadline with the given deadlineName has been scheduled after the given durationToScheduledTime.
- expectNoScheduledDeadlineWithName(Instant, String) - Method in interface org.axonframework.test.aggregate.ResultValidator
-
Asserts that no deadline with the given deadlineName has been scheduled at the given scheduledTime.
- expectNoScheduledDeadlineWithName(Duration, String) - Method in class org.axonframework.test.aggregate.ResultValidatorImpl
-
- expectNoScheduledDeadlineWithName(Instant, String) - Method in class org.axonframework.test.aggregate.ResultValidatorImpl
-
- expectNoScheduledDeadlineWithName(Duration, String) - Method in interface org.axonframework.test.saga.FixtureExecutionResult
-
Asserts that no deadline with the given deadlineName has been scheduled after the given durationToScheduledTime.
- expectNoScheduledDeadlineWithName(Instant, String) - Method in interface org.axonframework.test.saga.FixtureExecutionResult
-
Asserts that no deadline with the given deadlineName has been scheduled at the given scheduledTime.
- expectNoScheduledDeadlineWithName(Duration, String) - Method in class org.axonframework.test.saga.FixtureExecutionResultImpl
-
- expectNoScheduledDeadlineWithName(Instant, String) - Method in class org.axonframework.test.saga.FixtureExecutionResultImpl
-
- expectNoScheduledEvent(Duration, Object) - Method in interface org.axonframework.test.saga.FixtureExecutionResult
-
Asserts that no event equal to the given event has been scheduled after the given durationToScheduledTime.
- expectNoScheduledEvent(Instant, Object) - Method in interface org.axonframework.test.saga.FixtureExecutionResult
-
Asserts that no event equal to the given event has been scheduled at the given scheduledTime.
- expectNoScheduledEvent(Duration, Object) - Method in class org.axonframework.test.saga.FixtureExecutionResultImpl
-
- expectNoScheduledEvent(Instant, Object) - Method in class org.axonframework.test.saga.FixtureExecutionResultImpl
-
- expectNoScheduledEventMatching(Duration, Matcher<? super EventMessage<?>>) - Method in interface org.axonframework.test.saga.FixtureExecutionResult
-
Asserts that no event matching the given matcher has been scheduled to be published after the
given durationToScheduledTime.
- expectNoScheduledEventMatching(Instant, Matcher<? super EventMessage<?>>) - Method in interface org.axonframework.test.saga.FixtureExecutionResult
-
Asserts that no event matching the given matcher has been scheduled at the given scheduledTime.
- expectNoScheduledEventMatching(Duration, Matcher<? super EventMessage<?>>) - Method in class org.axonframework.test.saga.FixtureExecutionResultImpl
-
- expectNoScheduledEventMatching(Instant, Matcher<? super EventMessage<?>>) - Method in class org.axonframework.test.saga.FixtureExecutionResultImpl
-
- expectNoScheduledEventOfType(Duration, Class<?>) - Method in interface org.axonframework.test.saga.FixtureExecutionResult
-
Asserts that no event of the given eventType has been scheduled after the given durationToScheduledTime.
- expectNoScheduledEventOfType(Instant, Class<?>) - Method in interface org.axonframework.test.saga.FixtureExecutionResult
-
Asserts that no event with the given eventType has been scheduled at the given scheduledTime.
- expectNoScheduledEventOfType(Duration, Class<?>) - Method in class org.axonframework.test.saga.FixtureExecutionResultImpl
-
- expectNoScheduledEventOfType(Instant, Class<?>) - Method in class org.axonframework.test.saga.FixtureExecutionResultImpl
-
- expectNoScheduledEvents() - Method in interface org.axonframework.test.saga.FixtureExecutionResult
-
Assert that no events are scheduled for publication.
- expectNoScheduledEvents() - Method in class org.axonframework.test.saga.FixtureExecutionResultImpl
-
- expectNotMarkedDeleted() - Method in interface org.axonframework.test.aggregate.ResultValidator
-
Asserts that the Aggregate has NOT been marked for deletion.
- expectNotMarkedDeleted() - Method in class org.axonframework.test.aggregate.ResultValidatorImpl
-
- expectPublishedEvents(Object...) - Method in interface org.axonframework.test.saga.FixtureExecutionResult
-
Assert that the saga published events on the EventBus in the exact sequence of the given expected events.
- expectPublishedEvents(Object...) - Method in class org.axonframework.test.saga.FixtureExecutionResultImpl
-
- expectPublishedEventsMatching(Matcher<? extends List<? super EventMessage<?>>>) - Method in interface org.axonframework.test.saga.FixtureExecutionResult
-
Assert that the saga published events on the EventBus as defined by the given matcher.
- expectPublishedEventsMatching(Matcher<? extends List<? super EventMessage<?>>>) - Method in class org.axonframework.test.saga.FixtureExecutionResultImpl
-
- expectResultMessage(CommandResultMessage<?>) - Method in interface org.axonframework.test.aggregate.ResultValidator
-
Expect the command handler to return the given expectedResultMessage after execution.
- expectResultMessage(CommandResultMessage<?>) - Method in class org.axonframework.test.aggregate.ResultValidatorImpl
-
- expectResultMessageMatching(Matcher<? super CommandResultMessage<?>>) - Method in interface org.axonframework.test.aggregate.ResultValidator
-
Expect the command handler to return a value that matches the given matcher after execution.
- expectResultMessageMatching(Matcher<? super CommandResultMessage<?>>) - Method in class org.axonframework.test.aggregate.ResultValidatorImpl
-
- expectResultMessagePayload(Object) - Method in interface org.axonframework.test.aggregate.ResultValidator
-
Expect the command handler to return the given expectedPayload after execution.
- expectResultMessagePayload(Object) - Method in class org.axonframework.test.aggregate.ResultValidatorImpl
-
- expectResultMessagePayloadMatching(Matcher<?>) - Method in interface org.axonframework.test.aggregate.ResultValidator
-
Expect the command handler to return a payload that matches the given matcher after execution.
- expectResultMessagePayloadMatching(Matcher<?>) - Method in class org.axonframework.test.aggregate.ResultValidatorImpl
-
- expectScheduledDeadline(Duration, Object) - Method in interface org.axonframework.test.aggregate.ResultValidator
-
Asserts that a deadline equal to the given deadline has been scheduled after the given duration.
- expectScheduledDeadline(Instant, Object) - Method in interface org.axonframework.test.aggregate.ResultValidator
-
Asserts that a deadline equal to the given deadline has been scheduled at the given scheduledTime.
- expectScheduledDeadline(Duration, Object) - Method in class org.axonframework.test.aggregate.ResultValidatorImpl
-
- expectScheduledDeadline(Instant, Object) - Method in class org.axonframework.test.aggregate.ResultValidatorImpl
-
- expectScheduledDeadline(Duration, Object) - Method in interface org.axonframework.test.saga.FixtureExecutionResult
-
Asserts that a deadline equal to the given deadline has been scheduled after the given duration.
- expectScheduledDeadline(Instant, Object) - Method in interface org.axonframework.test.saga.FixtureExecutionResult
-
Asserts that a deadline equal to the given deadline has been scheduled at the given scheduledTime.
- expectScheduledDeadline(Duration, Object) - Method in class org.axonframework.test.saga.FixtureExecutionResultImpl
-
- expectScheduledDeadline(Instant, Object) - Method in class org.axonframework.test.saga.FixtureExecutionResultImpl
-
- expectScheduledDeadlineMatching(Duration, Matcher<? super DeadlineMessage<?>>) - Method in interface org.axonframework.test.aggregate.ResultValidator
-
Asserts that a deadline scheduled after given duration matches the given matcher.
- expectScheduledDeadlineMatching(Instant, Matcher<? super DeadlineMessage<?>>) - Method in interface org.axonframework.test.aggregate.ResultValidator
-
Asserts that a deadline matching the given matcher has been scheduled at the given scheduledTime.
- expectScheduledDeadlineMatching(Duration, Matcher<? super DeadlineMessage<?>>) - Method in class org.axonframework.test.aggregate.ResultValidatorImpl
-
- expectScheduledDeadlineMatching(Instant, Matcher<? super DeadlineMessage<?>>) - Method in class org.axonframework.test.aggregate.ResultValidatorImpl
-
- expectScheduledDeadlineMatching(Duration, Matcher<? super DeadlineMessage<?>>) - Method in interface org.axonframework.test.saga.FixtureExecutionResult
-
Asserts that a deadline scheduled after given duration matches the given matcher.
- expectScheduledDeadlineMatching(Instant, Matcher<? super DeadlineMessage<?>>) - Method in interface org.axonframework.test.saga.FixtureExecutionResult
-
Asserts that a deadline matching the given matcher has been scheduled at the given scheduledTime.
- expectScheduledDeadlineMatching(Duration, Matcher<? super DeadlineMessage<?>>) - Method in class org.axonframework.test.saga.FixtureExecutionResultImpl
-
- expectScheduledDeadlineMatching(Instant, Matcher<? super DeadlineMessage<?>>) - Method in class org.axonframework.test.saga.FixtureExecutionResultImpl
-
- expectScheduledDeadlineOfType(Duration, Class<?>) - Method in interface org.axonframework.test.aggregate.ResultValidator
-
Asserts that a deadline of the given deadlineType has been scheduled after the given duration.
- expectScheduledDeadlineOfType(Instant, Class<?>) - Method in interface org.axonframework.test.aggregate.ResultValidator
-
Asserts that a deadline of the given deadlineType has been scheduled at the given scheduledTime.
- expectScheduledDeadlineOfType(Duration, Class<?>) - Method in class org.axonframework.test.aggregate.ResultValidatorImpl
-
- expectScheduledDeadlineOfType(Instant, Class<?>) - Method in class org.axonframework.test.aggregate.ResultValidatorImpl
-
- expectScheduledDeadlineOfType(Duration, Class<?>) - Method in interface org.axonframework.test.saga.FixtureExecutionResult
-
Asserts that a deadline of the given deadlineType has been scheduled after the given duration.
- expectScheduledDeadlineOfType(Instant, Class<?>) - Method in interface org.axonframework.test.saga.FixtureExecutionResult
-
Asserts that a deadline of the given deadlineType has been scheduled at the given scheduledTime.
- expectScheduledDeadlineOfType(Duration, Class<?>) - Method in class org.axonframework.test.saga.FixtureExecutionResultImpl
-
- expectScheduledDeadlineOfType(Instant, Class<?>) - Method in class org.axonframework.test.saga.FixtureExecutionResultImpl
-
- expectScheduledDeadlineWithName(Duration, String) - Method in interface org.axonframework.test.aggregate.ResultValidator
-
Asserts that a deadline with the given deadlineName has been scheduled after the given duration.
- expectScheduledDeadlineWithName(Instant, String) - Method in interface org.axonframework.test.aggregate.ResultValidator
-
Asserts that a deadline with the given deadlineName has been scheduled at the given scheduledTime.
- expectScheduledDeadlineWithName(Duration, String) - Method in class org.axonframework.test.aggregate.ResultValidatorImpl
-
- expectScheduledDeadlineWithName(Instant, String) - Method in class org.axonframework.test.aggregate.ResultValidatorImpl
-
- expectScheduledDeadlineWithName(Duration, String) - Method in interface org.axonframework.test.saga.FixtureExecutionResult
-
Asserts that a deadline with the given deadlineName has been scheduled after the given duration.
- expectScheduledDeadlineWithName(Instant, String) - Method in interface org.axonframework.test.saga.FixtureExecutionResult
-
Asserts that a deadline with the given deadlineName has been scheduled at the given scheduledTime.
- expectScheduledDeadlineWithName(Duration, String) - Method in class org.axonframework.test.saga.FixtureExecutionResultImpl
-
- expectScheduledDeadlineWithName(Instant, String) - Method in class org.axonframework.test.saga.FixtureExecutionResultImpl
-
- expectScheduledEvent(Duration, Object) - Method in interface org.axonframework.test.saga.FixtureExecutionResult
-
Asserts that an event equal to the given event has been scheduled for publication after the given duration.
- expectScheduledEvent(Instant, Object) - Method in interface org.axonframework.test.saga.FixtureExecutionResult
-
Asserts that an event equal to the given event has been scheduled for publication at the given scheduledTime.
- expectScheduledEvent(Duration, Object) - Method in class org.axonframework.test.saga.FixtureExecutionResultImpl
-
- expectScheduledEvent(Instant, Object) - Method in class org.axonframework.test.saga.FixtureExecutionResultImpl
-
- expectScheduledEventMatching(Duration, Matcher<? super EventMessage<?>>) - Method in interface org.axonframework.test.saga.FixtureExecutionResult
-
Asserts that an event matching the given matcher has been scheduled to be published after the given
duration.
- expectScheduledEventMatching(Instant, Matcher<? super EventMessage<?>>) - Method in interface org.axonframework.test.saga.FixtureExecutionResult
-
Asserts that an event matching the given matcher has been scheduled to be published at the given scheduledTime.
- expectScheduledEventMatching(Duration, Matcher<? super EventMessage<?>>) - Method in class org.axonframework.test.saga.FixtureExecutionResultImpl
-
- expectScheduledEventMatching(Instant, Matcher<? super EventMessage<?>>) - Method in class org.axonframework.test.saga.FixtureExecutionResultImpl
-
- expectScheduledEventOfType(Duration, Class<?>) - Method in interface org.axonframework.test.saga.FixtureExecutionResult
-
Asserts that an event of the given eventType has been scheduled for publication after the given duration.
- expectScheduledEventOfType(Instant, Class<?>) - Method in interface org.axonframework.test.saga.FixtureExecutionResult
-
Asserts that an event of the given eventType has been scheduled for publication at the given scheduledTime.
- expectScheduledEventOfType(Duration, Class<?>) - Method in class org.axonframework.test.saga.FixtureExecutionResultImpl
-
- expectScheduledEventOfType(Instant, Class<?>) - Method in class org.axonframework.test.saga.FixtureExecutionResultImpl
-
- expectState(Consumer<T>) - Method in interface org.axonframework.test.aggregate.ResultValidator
-
Provides access the the state of the Aggregate as it was stored in the repository, allowing for validation of the
state of the aggregate, as it was left in the repository.
- expectState(Consumer<T>) - Method in class org.axonframework.test.aggregate.ResultValidatorImpl
-
- expectSuccessfulHandlerExecution() - Method in interface org.axonframework.test.aggregate.ResultValidator
-
Expect a successful execution of the given command handler, regardless of the actual return value.
- expectSuccessfulHandlerExecution() - Method in class org.axonframework.test.aggregate.ResultValidatorImpl
-
- getAdditionalEntries() - Method in class org.axonframework.test.matchers.MapEntryMatcher
-
- getAppliedEventPayloads() - Method in class org.axonframework.test.aggregate.StubAggregateLifecycle
-
Returns the payloads of the Events applied while this lifecycle instance was active.
- getAppliedEvents() - Method in class org.axonframework.test.aggregate.StubAggregateLifecycle
-
Returns the list of applied Events for this lifecycle instance.
- getCommandBus() - Method in class org.axonframework.test.aggregate.AggregateTestFixture
-
- getCommandBus() - Method in interface org.axonframework.test.aggregate.FixtureConfiguration
-
Returns the command bus used by this fixture.
- getCommandBus() - Method in interface org.axonframework.test.saga.FixtureConfiguration
-
Returns the command bus used by this fixture.
- getCommandBus() - Method in class org.axonframework.test.saga.SagaTestFixture
-
- getCounter() - Method in class org.axonframework.test.deadline.ScheduledDeadlineInfo
-
Retrieve the counter used to differentiate two deadlines scheduled at the same time.
- getCurrentDateTime() - Method in class org.axonframework.test.deadline.StubDeadlineManager
-
Return the current date and time as an
Instant as is being used by this
DeadlineManager.
- getCurrentDateTime() - Method in class org.axonframework.test.eventscheduler.StubEventScheduler
-
Returns the "Current Date Time" as used by the scheduler.
- getDeadlineName() - Method in class org.axonframework.test.deadline.ScheduledDeadlineInfo
-
Retrieve a
String denoting the name of the deadline; can be used together with the
scheduleId to
cancel the deadline.
- getDeadlineScope() - Method in class org.axonframework.test.deadline.ScheduledDeadlineInfo
-
Retrieve a description of the Scope in which the deadline is scheduled.
- getDeadlinesMet() - Method in class org.axonframework.test.deadline.StubDeadlineManager
-
Return all deadlines which have been met.
- getDispatchedCommands() - Method in class org.axonframework.test.utils.RecordingCommandBus
-
Returns a list with all commands that have been dispatched by this command bus.
- getEvent() - Method in interface org.axonframework.test.eventscheduler.ScheduledItem
-
The Event scheduled for publication.
- getEvent() - Method in class org.axonframework.test.eventscheduler.StubScheduleToken
-
- getEventBus() - Method in class org.axonframework.test.aggregate.AggregateTestFixture
-
- getEventBus() - Method in interface org.axonframework.test.aggregate.FixtureConfiguration
-
Returns the event bus used by this fixture.
- getEventBus() - Method in interface org.axonframework.test.saga.FixtureConfiguration
-
Returns the event bus used by this fixture.
- getEventBus() - Method in class org.axonframework.test.saga.SagaTestFixture
-
- getEventStore() - Method in class org.axonframework.test.aggregate.AggregateTestFixture
-
- getEventStore() - Method in interface org.axonframework.test.aggregate.FixtureConfiguration
-
Returns the event store used by this fixture.
- getFailedField() - Method in class org.axonframework.test.matchers.EqualFieldsMatcher
-
Returns the field that failed comparison, if any.
- getFailedFieldActualValue() - Method in class org.axonframework.test.matchers.EqualFieldsMatcher
-
Returns the actual value of a failed field comparison, if any.
- getFailedFieldExpectedValue() - Method in class org.axonframework.test.matchers.EqualFieldsMatcher
-
Returns the expected value of a failed field comparison, if any.
- getIsLive() - Method in class org.axonframework.test.aggregate.StubAggregateLifecycle
-
- getLastSeparator() - Method in class org.axonframework.test.matchers.ListMatcher
-
The separator to use between the two last events.
- getLastSeparator() - Method in class org.axonframework.test.matchers.ListWithAnyOfMatcher
-
- getMatchers() - Method in class org.axonframework.test.matchers.ListMatcher
-
Returns a read-only list of Matchers, in the order they were provided in the constructor.
- getMissingEntries() - Method in class org.axonframework.test.matchers.MapEntryMatcher
-
- getRepository() - Method in class org.axonframework.test.aggregate.AggregateTestFixture
-
- getRepository() - Method in interface org.axonframework.test.aggregate.FixtureConfiguration
-
Returns the repository used by this fixture.
- getScheduledDeadlines() - Method in class org.axonframework.test.deadline.StubDeadlineManager
-
Return all scheduled deadlines which have not been met (yet).
- getScheduledItems() - Method in class org.axonframework.test.eventscheduler.StubEventScheduler
-
Returns a view of all the scheduled Events at the time this method is called.
- getScheduleId() - Method in class org.axonframework.test.deadline.ScheduledDeadlineInfo
-
Retrieve a
String identifier representing the scheduled deadline; can be used together with the
deadlineName to cancel the deadline.
- getScheduleTime() - Method in class org.axonframework.test.deadline.ScheduledDeadlineInfo
-
Retrieve the time as an
Instant at which the deadline is scheduled.
- getScheduleTime() - Method in interface org.axonframework.test.eventscheduler.ScheduledItem
-
The time the event was scheduled for publication.
- getScheduleTime() - Method in class org.axonframework.test.eventscheduler.StubScheduleToken
-
- getSubscriptions() - Method in class org.axonframework.test.utils.RecordingCommandBus
-
Returns a Map will all Command Names and their Command Handler that have been subscribed to this command bus.
- given(Object...) - Method in class org.axonframework.test.aggregate.AggregateTestFixture
-
- given(List<?>) - Method in class org.axonframework.test.aggregate.AggregateTestFixture
-
- given(Object...) - Method in interface org.axonframework.test.aggregate.FixtureConfiguration
-
Configures the given domainEvents as the "given" events.
- given(List<?>) - Method in interface org.axonframework.test.aggregate.FixtureConfiguration
-
Configures the given domainEvents as the "given" events.
- givenAggregate(String) - Method in interface org.axonframework.test.saga.FixtureConfiguration
-
Use this method to indicate that an aggregate with given identifier published certain events.
- givenAggregate(String) - Method in class org.axonframework.test.saga.SagaTestFixture
-
- GivenAggregateEventPublisher - Interface in org.axonframework.test.saga
-
Interface to an object that publishes events on behalf of an aggregate.
- givenAPublished(Object) - Method in interface org.axonframework.test.saga.FixtureConfiguration
-
Indicates that the given applicationEvent has been published in the past.
- givenAPublished(Object) - Method in class org.axonframework.test.saga.SagaTestFixture
-
- givenCommands(Object...) - Method in class org.axonframework.test.aggregate.AggregateTestFixture
-
- givenCommands(List<?>) - Method in class org.axonframework.test.aggregate.AggregateTestFixture
-
- givenCommands(Object...) - Method in interface org.axonframework.test.aggregate.FixtureConfiguration
-
Configures the given commands as the command that will provide the "given" events.
- givenCommands(List<?>) - Method in interface org.axonframework.test.aggregate.FixtureConfiguration
-
Configures the given commands as the command that will provide the "given" events.
- givenCurrentTime(Instant) - Method in class org.axonframework.test.aggregate.AggregateTestFixture
-
- givenCurrentTime(Instant) - Method in interface org.axonframework.test.aggregate.FixtureConfiguration
-
Use this method to indicate a specific moment as the initial current time "known" by the fixture at the start
of the given state.
- givenCurrentTime(Instant) - Method in interface org.axonframework.test.saga.FixtureConfiguration
-
Use this method to indicate a specific moment as the initial current time "known" by the fixture at the start of
the given state.
- givenCurrentTime(Instant) - Method in class org.axonframework.test.saga.SagaTestFixture
-
- givenNoPriorActivity() - Method in class org.axonframework.test.aggregate.AggregateTestFixture
-
- givenNoPriorActivity() - Method in interface org.axonframework.test.aggregate.FixtureConfiguration
-
Indicates that no relevant activity has occurred in the past.
- givenNoPriorActivity() - Method in interface org.axonframework.test.saga.FixtureConfiguration
-
Indicates that no relevant activity has occurred in the past.
- givenNoPriorActivity() - Method in class org.axonframework.test.saga.SagaTestFixture
-
- givenState(Supplier<T>) - Method in class org.axonframework.test.aggregate.AggregateTestFixture
-
- givenState(Supplier<T>) - Method in interface org.axonframework.test.aggregate.FixtureConfiguration
-
Sets the aggregate instance as supplied by given aggregateState as the initial state for a test case.
- RecordingCommandBus - Class in org.axonframework.test.utils
-
CommandBus implementation that does not perform any actions on subscriptions or dispatched commands, but records
them instead.
- RecordingCommandBus() - Constructor for class org.axonframework.test.utils.RecordingCommandBus
-
- recreateWithNewMessage(DeadlineMessage<?>) - Method in class org.axonframework.test.deadline.ScheduledDeadlineInfo
-
Creates a new instance of scheduled deadline info with new deadlineMessage.
- registerAggregateFactory(AggregateFactory<T>) - Method in class org.axonframework.test.aggregate.AggregateTestFixture
-
- registerAggregateFactory(AggregateFactory<T>) - Method in interface org.axonframework.test.aggregate.FixtureConfiguration
-
Registers the given aggregateFactory with the fixture.
- registerAnnotatedCommandHandler(Object) - Method in class org.axonframework.test.aggregate.AggregateTestFixture
-
- registerAnnotatedCommandHandler(Object) - Method in interface org.axonframework.test.aggregate.FixtureConfiguration
-
Registers an annotatedCommandHandler with this fixture.
- registerCommandDispatchInterceptor(MessageDispatchInterceptor<? super CommandMessage<?>>) - Method in class org.axonframework.test.aggregate.AggregateTestFixture
-
- registerCommandDispatchInterceptor(MessageDispatchInterceptor<? super CommandMessage<?>>) - Method in interface org.axonframework.test.aggregate.FixtureConfiguration
-
Register a MessageDispatchInterceptor for CommandMessages which will be invoked before any
command is dispatched on the CommandBus to perform a task specified in the interceptor.
- registerCommandGateway(Class<T>) - Method in interface org.axonframework.test.saga.FixtureConfiguration
-
Creates a Command Gateway for the given gatewayInterface and registers that as a resource.
- registerCommandGateway(Class<T>, T) - Method in interface org.axonframework.test.saga.FixtureConfiguration
-
Creates a Command Gateway for the given gatewayInterface and registers that as a resource.
- registerCommandGateway(Class<I>) - Method in class org.axonframework.test.saga.SagaTestFixture
-
- registerCommandGateway(Class<I>, I) - Method in class org.axonframework.test.saga.SagaTestFixture
-
- registerCommandHandler(Class<?>, MessageHandler<CommandMessage<?>>) - Method in class org.axonframework.test.aggregate.AggregateTestFixture
-
- registerCommandHandler(String, MessageHandler<CommandMessage<?>>) - Method in class org.axonframework.test.aggregate.AggregateTestFixture
-
- registerCommandHandler(Class<?>, MessageHandler<CommandMessage<?>>) - Method in interface org.axonframework.test.aggregate.FixtureConfiguration
-
Registers a commandHandler to handle commands of the given commandType with the
command bus used by this fixture.
- registerCommandHandler(String, MessageHandler<CommandMessage<?>>) - Method in interface org.axonframework.test.aggregate.FixtureConfiguration
-
Registers a commandHandler to handle commands of the given commandType with the
command bus used by this fixture.
- registerCommandHandlerInterceptor(MessageHandlerInterceptor<? super CommandMessage<?>>) - Method in class org.axonframework.test.aggregate.AggregateTestFixture
-
- registerCommandHandlerInterceptor(MessageHandlerInterceptor<? super CommandMessage<?>>) - Method in interface org.axonframework.test.aggregate.FixtureConfiguration
-
Register a MessageHandlerInterceptor for CommandMessages which will be invoked before or after
the command has been dispatched on the CommandBus to perform a task specified in the interceptor.
- registerCommandTargetResolver(CommandTargetResolver) - Method in class org.axonframework.test.aggregate.AggregateTestFixture
-
- registerCommandTargetResolver(CommandTargetResolver) - Method in interface org.axonframework.test.aggregate.FixtureConfiguration
-
Registers the CommandTargetResolver within this fixture.
- registerDeadlineDispatchInterceptor(MessageDispatchInterceptor<? super DeadlineMessage<?>>) - Method in class org.axonframework.test.aggregate.AggregateTestFixture
-
- registerDeadlineDispatchInterceptor(MessageDispatchInterceptor<? super DeadlineMessage<?>>) - Method in interface org.axonframework.test.aggregate.FixtureConfiguration
-
Registers a deadline dispatch interceptor which will always be invoked before a deadline is dispatched
(scheduled) on the DeadlineManager to perform a task specified in the
interceptor.
- registerDeadlineDispatchInterceptor(MessageDispatchInterceptor<DeadlineMessage<?>>) - Method in interface org.axonframework.test.saga.FixtureConfiguration
-
Registers a deadline dispatch interceptor which will always be invoked before a deadline is dispatched
(scheduled) on the DeadlineManager to perform a task specified in the
interceptor.
- registerDeadlineDispatchInterceptor(MessageDispatchInterceptor<DeadlineMessage<?>>) - Method in class org.axonframework.test.saga.SagaTestFixture
-
- registerDeadlineHandlerInterceptor(MessageHandlerInterceptor<? super DeadlineMessage<?>>) - Method in class org.axonframework.test.aggregate.AggregateTestFixture
-
- registerDeadlineHandlerInterceptor(MessageHandlerInterceptor<? super DeadlineMessage<?>>) - Method in interface org.axonframework.test.aggregate.FixtureConfiguration
-
Registers a deadline handler interceptor which will always be invoked before a deadline is handled to perform a
task specified in the interceptor.
- registerDeadlineHandlerInterceptor(MessageHandlerInterceptor<DeadlineMessage<?>>) - Method in interface org.axonframework.test.saga.FixtureConfiguration
-
Registers a deadline handler interceptor which will always be invoked before a deadline is handled to perform a
task specified in the interceptor.
- registerDeadlineHandlerInterceptor(MessageHandlerInterceptor<DeadlineMessage<?>>) - Method in class org.axonframework.test.saga.SagaTestFixture
-
- registerDispatchInterceptor(MessageDispatchInterceptor<? super DeadlineMessage<?>>) - Method in class org.axonframework.test.deadline.StubDeadlineManager
-
- registerDispatchInterceptor(MessageDispatchInterceptor<? super CommandMessage<?>>) - Method in class org.axonframework.test.utils.RecordingCommandBus
-
- registerFieldFilter(FieldFilter) - Method in class org.axonframework.test.aggregate.AggregateTestFixture
-
- registerFieldFilter(FieldFilter) - Method in interface org.axonframework.test.aggregate.FixtureConfiguration
-
Registers the given fieldFilter, which is used to define which Fields are used when comparing objects.
- registerFieldFilter(FieldFilter) - Method in interface org.axonframework.test.saga.FixtureConfiguration
-
Registers the given fieldFilter, which is used to define which Fields are used when comparing objects.
- registerFieldFilter(FieldFilter) - Method in class org.axonframework.test.saga.SagaTestFixture
-
- registerHandlerDefinition(HandlerDefinition) - Method in class org.axonframework.test.aggregate.AggregateTestFixture
-
- registerHandlerDefinition(HandlerDefinition) - Method in interface org.axonframework.test.aggregate.FixtureConfiguration
-
Registers a HandlerDefinition within this fixture.
- registerHandlerDefinition(HandlerDefinition) - Method in interface org.axonframework.test.saga.FixtureConfiguration
-
Registers a HandlerDefinition within this fixture.
- registerHandlerDefinition(HandlerDefinition) - Method in class org.axonframework.test.saga.SagaTestFixture
-
- registerHandlerEnhancerDefinition(HandlerEnhancerDefinition) - Method in class org.axonframework.test.aggregate.AggregateTestFixture
-
- registerHandlerEnhancerDefinition(HandlerEnhancerDefinition) - Method in interface org.axonframework.test.aggregate.FixtureConfiguration
-
Registers a HandlerEnhancerDefinition within this fixture.
- registerHandlerEnhancerDefinition(HandlerEnhancerDefinition) - Method in interface org.axonframework.test.saga.FixtureConfiguration
-
Registers a HandlerEnhancerDefinition within this fixture.
- registerHandlerEnhancerDefinition(HandlerEnhancerDefinition) - Method in class org.axonframework.test.saga.SagaTestFixture
-
- registerHandlerInterceptor(MessageHandlerInterceptor<? super DeadlineMessage<?>>) - Method in class org.axonframework.test.deadline.StubDeadlineManager
-
- registerHandlerInterceptor(MessageHandlerInterceptor<? super CommandMessage<?>>) - Method in class org.axonframework.test.utils.RecordingCommandBus
-
- registerIgnoredField(Class<?>, String) - Method in class org.axonframework.test.aggregate.AggregateTestFixture
-
- registerIgnoredField(Class<?>, String) - Method in interface org.axonframework.test.aggregate.FixtureConfiguration
-
Indicates that a field with given fieldName, which is declared in given declaringClass
is ignored when performing deep equality checks.
- registerIgnoredField(Class<?>, String) - Method in interface org.axonframework.test.saga.FixtureConfiguration
-
Indicates that a field with given fieldName, which is declared in given declaringClass is ignored
when performing deep equality checks.
- registerIgnoredField(Class<?>, String) - Method in class org.axonframework.test.saga.SagaTestFixture
-
- registerInjectableResource(Object) - Method in class org.axonframework.test.aggregate.AggregateTestFixture
-
- registerInjectableResource(Object) - Method in interface org.axonframework.test.aggregate.FixtureConfiguration
-
Registers a resource that is eligible for injection in handler method (e.g.
- registerListenerInvocationErrorHandler(ListenerInvocationErrorHandler) - Method in interface org.axonframework.test.saga.FixtureConfiguration
-
Registers a ListenerInvocationErrorHandler to be set for the Saga to deal with exceptions being thrown
from within Saga Event Handlers.
- registerListenerInvocationErrorHandler(ListenerInvocationErrorHandler) - Method in class org.axonframework.test.saga.SagaTestFixture
-
- registerParameterResolverFactory(ParameterResolverFactory) - Method in class org.axonframework.test.aggregate.AggregateTestFixture
-
- registerParameterResolverFactory(ParameterResolverFactory) - Method in interface org.axonframework.test.aggregate.FixtureConfiguration
-
Registers a ParameterResolverFactory within this fixture.
- registerParameterResolverFactory(ParameterResolverFactory) - Method in interface org.axonframework.test.saga.FixtureConfiguration
-
Registers a ParameterResolverFactory within this fixture.
- registerParameterResolverFactory(ParameterResolverFactory) - Method in class org.axonframework.test.saga.SagaTestFixture
-
- registerRepository(Repository<T>) - Method in class org.axonframework.test.aggregate.AggregateTestFixture
-
- registerRepository(Repository<T>) - Method in interface org.axonframework.test.aggregate.FixtureConfiguration
-
Registers an arbitrary repository with the fixture.
- registerRepositoryProvider(RepositoryProvider) - Method in class org.axonframework.test.aggregate.AggregateTestFixture
-
- registerRepositoryProvider(RepositoryProvider) - Method in interface org.axonframework.test.aggregate.FixtureConfiguration
-
Registers repository provider with the fixture.
- registerResource(Object) - Method in interface org.axonframework.test.saga.FixtureConfiguration
-
Registers the given resource.
- registerResource(Object) - Method in class org.axonframework.test.saga.SagaTestFixture
-
- registerResourceInjector(ResourceInjector) - Method in interface org.axonframework.test.saga.FixtureConfiguration
-
Registers a ResourceInjector within this fixture.
- registerResourceInjector(ResourceInjector) - Method in class org.axonframework.test.saga.SagaTestFixture
-
- registerStartRecordingCallback(Runnable) - Method in interface org.axonframework.test.saga.FixtureConfiguration
-
Registers a callback to be invoked when the fixture execution starts recording.
- registerStartRecordingCallback(Runnable) - Method in class org.axonframework.test.saga.FixtureExecutionResultImpl
-
Registers a callback to be invoked when the fixture execution starts recording.
- registerStartRecordingCallback(Runnable) - Method in class org.axonframework.test.saga.SagaTestFixture
-
- reportDifferentMetaData(Class<?>, Map<String, Object>, Map<String, Object>) - Method in class org.axonframework.test.aggregate.Reporter
-
Report an error due to a difference in the metadata of a message
- reportDifferentPayloads(Class<?>, Field, Object, Object) - Method in class org.axonframework.test.aggregate.Reporter
-
Report an error due to a difference in one of the fields of the message payload.
- Reporter - Class in org.axonframework.test.aggregate
-
The reporter generates extensive human readable reports of what the expected outcome of a test was, and what the
actual results were.
- Reporter() - Constructor for class org.axonframework.test.aggregate.Reporter
-
- reportFailed(Matcher<? super T>) - Method in class org.axonframework.test.matchers.ListMatcher
-
Report the given matcher as a failing matcher.
- reportIncorrectDeletedState(boolean) - Method in class org.axonframework.test.aggregate.Reporter
-
Report an error due to a difference in the expected state of the `isDeleted` marker on the Aggregate.
- reportUnexpectedException(Throwable, Description) - Method in class org.axonframework.test.aggregate.Reporter
-
Reports an error due to an unexpected exception.
- reportUnexpectedReturnValue(Object, Description) - Method in class org.axonframework.test.aggregate.Reporter
-
Report an error due to an unexpected return value, while an exception was expected.
- reportWrongEvent(Collection<?>, Collection<?>, Throwable) - Method in class org.axonframework.test.aggregate.Reporter
-
Report an error in the ordering or count of events.
- reportWrongEvent(Collection<?>, StringDescription, Throwable) - Method in class org.axonframework.test.aggregate.Reporter
-
Report an error in the ordering or count of events.
- reportWrongException(Throwable, Description) - Method in class org.axonframework.test.aggregate.Reporter
-
Report an error due to a an exception of an unexpected type.
- reportWrongExceptionMessage(Throwable, Description) - Method in class org.axonframework.test.aggregate.Reporter
-
Report an error due to a difference in exception message.
- reportWrongResult(Object, Object) - Method in class org.axonframework.test.aggregate.Reporter
-
Reports an error due to a wrong return value.
- RepositoryContentValidator<T> - Class in org.axonframework.test.saga
-
Helper class for the validation of Saga Repository content.
- ResultValidator<T> - Interface in org.axonframework.test.aggregate
-
Interface describing the operations available on the "validate result" (a.k.a.
- ResultValidatorImpl<T> - Class in org.axonframework.test.aggregate
-
Implementation of the ResultValidator.
- ResultValidatorImpl(List<EventMessage<?>>, FieldFilter, Supplier<Aggregate<T>>, StubDeadlineManager) - Constructor for class org.axonframework.test.aggregate.ResultValidatorImpl
-
Initialize the ResultValidatorImpl with the given storedEvents and publishedEvents.
- SagaTestFixture<T> - Class in org.axonframework.test.saga
-
Fixture for testing Annotated Sagas based on events and time passing.
- SagaTestFixture(Class<T>) - Constructor for class org.axonframework.test.saga.SagaTestFixture
-
Creates an instance of the AnnotatedSagaTestFixture to test sagas of the given sagaType.
- schedule(Instant, String, Object, ScopeDescriptor) - Method in class org.axonframework.test.deadline.StubDeadlineManager
-
- schedule(Duration, String, Object, ScopeDescriptor) - Method in class org.axonframework.test.deadline.StubDeadlineManager
-
- schedule(Instant, Object) - Method in class org.axonframework.test.eventscheduler.StubEventScheduler
-
- schedule(Duration, Object) - Method in class org.axonframework.test.eventscheduler.StubEventScheduler
-
- ScheduledDeadlineInfo - Class in org.axonframework.test.deadline
-
Holds the data regarding deadline schedule.
- ScheduledDeadlineInfo(Instant, String, String, int, DeadlineMessage<?>, ScopeDescriptor) - Constructor for class org.axonframework.test.deadline.ScheduledDeadlineInfo
-
Instantiates a ScheduledDeadlineInfo.
- ScheduledItem - Interface in org.axonframework.test.eventscheduler
-
Interface describing an event to be scheduled at a given date and time.
- SequenceMatcher<T> - Class in org.axonframework.test.matchers
-
A matcher that will match if all the given matchers each match against an item that the previous
matcher matched against.
- SequenceMatcher(Matcher<? super T>...) - Constructor for class org.axonframework.test.matchers.SequenceMatcher
-
Construct a matcher that will return true if all the given matchers match against an item
positioned after the item that the previous matcher matched against.
- sequenceOf(Matcher<T>...) - Static method in class org.axonframework.test.matchers.Matchers
-
Matches a list of Events if each of the matchers match against an Event that comes after the Event
that the previous matcher matched against.
- setCallbackBehavior(CallbackBehavior) - Method in interface org.axonframework.test.saga.FixtureConfiguration
-
Sets the instance that defines the behavior of the Command Bus when a command is dispatched with a callback.
- setCallbackBehavior(CallbackBehavior) - Method in class org.axonframework.test.saga.SagaTestFixture
-
- setCallbackBehavior(CallbackBehavior) - Method in class org.axonframework.test.utils.RecordingCommandBus
-
Sets the instance that defines the behavior of the Command Bus when a command is dispatched with a callback.
- setReportIllegalStateChange(boolean) - Method in class org.axonframework.test.aggregate.AggregateTestFixture
-
- setReportIllegalStateChange(boolean) - Method in interface org.axonframework.test.aggregate.FixtureConfiguration
-
Sets whether or not the fixture should detect and report state changes that occur outside of Event Handler
methods.
- startRecording() - Method in class org.axonframework.test.saga.CommandValidator
-
Starts recording commands on the command bus.
- startRecording() - Method in class org.axonframework.test.saga.EventValidator
-
Starts recording event published by the event bus.
- startRecording() - Method in class org.axonframework.test.saga.FixtureExecutionResultImpl
-
Tells this class to start monitoring activity in infrastructure classes.
- StubAggregateLifecycle - Class in org.axonframework.test.aggregate
-
Stub implementation of an AggregateLifecycle that registers all applied events for verification later.
- StubAggregateLifecycle() - Constructor for class org.axonframework.test.aggregate.StubAggregateLifecycle
-
- StubAggregateLifecycleExtension - Class in org.axonframework.test.aggregate
-
Implementation of
StubAggregateLifecycle that can be used as an
RegisterExtension
annotated method or field in a test class.
- StubAggregateLifecycleExtension() - Constructor for class org.axonframework.test.aggregate.StubAggregateLifecycleExtension
-
- StubAggregateLifecycleRule - Class in org.axonframework.test.aggregate
-
- StubAggregateLifecycleRule() - Constructor for class org.axonframework.test.aggregate.StubAggregateLifecycleRule
-
Deprecated.
- StubDeadlineManager - Class in org.axonframework.test.deadline
-
Stub implementation of DeadlineManager.
- StubDeadlineManager() - Constructor for class org.axonframework.test.deadline.StubDeadlineManager
-
- StubDeadlineManager(TemporalAccessor) - Constructor for class org.axonframework.test.deadline.StubDeadlineManager
-
Initializes the manager with provided currentDateTime as current time.
- StubEventScheduler - Class in org.axonframework.test.eventscheduler
-
EventScheduler implementation that uses it's own concept of "Current Time" for the purpose of testing.
- StubEventScheduler() - Constructor for class org.axonframework.test.eventscheduler.StubEventScheduler
-
Creates an instance of the StubScheduler that uses the current date time as its conceptual "current time".
- StubEventScheduler(TemporalAccessor) - Constructor for class org.axonframework.test.eventscheduler.StubEventScheduler
-
Creates an instance of the StubScheduler that uses the given currentDateTime as its conceptual
"current time".
- StubScheduleToken - Class in org.axonframework.test.eventscheduler
-
ScheduleToken returned by the StubEventScheduler.
- subscribe(String, MessageHandler<? super CommandMessage<?>>) - Method in class org.axonframework.test.utils.RecordingCommandBus
-