Skip navigation links
A B C D E F G H I L M N O P R S T V W 

A

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
Deprecated.
in favor of TestExecutor.whenThenTimeAdvancesTo(Instant). This function incorrectly suggests you can proceed with other operations after calling it, which is made impossible due to the ResultValidator return type
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
Deprecated.
in favor of TestExecutor.whenThenTimeElapses(Duration). This function incorrectly suggests you can proceed with other operations after calling it, which is made impossible due to the ResultValidator return type
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
Deprecated.
in favor of the SimpleResourceInjector
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.

B

beforeEach(ExtensionContext) - Method in class org.axonframework.test.aggregate.StubAggregateLifecycleExtension
 

C

CallbackBehavior - Interface in org.axonframework.test.utils
Interface towards a mechanism that replicates the behavior of a Command Handling component.
cancelAll(String) - Method in class org.axonframework.test.deadline.StubDeadlineManager
 
cancelAllWithinScope(String, ScopeDescriptor) - Method in class org.axonframework.test.deadline.StubDeadlineManager
 
cancelSchedule(String, String) - Method in class org.axonframework.test.deadline.StubDeadlineManager
 
cancelSchedule(ScheduleToken) - Method in class org.axonframework.test.eventscheduler.StubEventScheduler
 
clearCommands() - Method in class org.axonframework.test.utils.RecordingCommandBus
Clears all the commands recorded by this Command Bus.
clearSubscriptions() - Method in class org.axonframework.test.utils.RecordingCommandBus
Clears all subscribed handlers on this command bus.
close() - Method in class org.axonframework.test.aggregate.StubAggregateLifecycle
Closes this lifecycle instance, restoring to the situation prior to this lifecycle being started.
CommandValidator - Class in org.axonframework.test.saga
Helper class for validation of dispatched commands.
CommandValidator(RecordingCommandBus, FieldFilter) - Constructor for class org.axonframework.test.saga.CommandValidator
Creates a validator which monitors the given commandBus.
compareTo(ScheduledDeadlineInfo) - Method in class org.axonframework.test.deadline.ScheduledDeadlineInfo
 
compareTo(StubScheduleToken) - Method in class org.axonframework.test.eventscheduler.StubScheduleToken
 
consume(ScopeDescriptor, DeadlineMessage<?>) - Method in interface org.axonframework.test.deadline.DeadlineConsumer
Consumes given deadlineMessage.
ContinuedGivenState - Interface in org.axonframework.test.saga
Interface describing methods that can be executed after the first "given" state has been supplied.
createInstance(Executable, Parameter[], int) - Method in class org.axonframework.test.FixtureResourceParameterResolverFactory
 
currentDateTime() - Method in class org.axonframework.test.deadline.DeadlineManagerValidator
The current date time as stated by the configured StubDeadlineManager.
currentTime() - Method in class org.axonframework.test.aggregate.AggregateTestFixture
 
currentTime() - Method in interface org.axonframework.test.aggregate.TestExecutor
Returns the time as "known" by the fixture.
currentTime() - Method in interface org.axonframework.test.saga.FixtureConfiguration
Returns the time as "known" by the fixture.
currentTime() - Method in class org.axonframework.test.saga.SagaTestFixture
 

D

DeadlineConsumer - Interface in org.axonframework.test.deadline
Functional interface describing a Consumer of a DeadlineMessage.
DeadlineManagerValidator - Class in org.axonframework.test.deadline
Helps validation of deadline mechanism provided by StubDeadlineManager.
DeadlineManagerValidator(StubDeadlineManager, FieldFilter) - Constructor for class org.axonframework.test.deadline.DeadlineManagerValidator
Instantiates this validator with deadlineManager which is used for validation purposes and fieldFilter.
deadlineMessage() - Method in class org.axonframework.test.deadline.ScheduledDeadlineInfo
Retrieve a DeadlineMessage constructed out of the deadlineName and deadlineInfo.
DefaultCallbackBehavior - Class in org.axonframework.test.utils
Default implementation of the CallbackBehavior interface.
DefaultCallbackBehavior() - Constructor for class org.axonframework.test.utils.DefaultCallbackBehavior
 
describe(List<?>, Description) - Static method in class org.axonframework.test.saga.DescriptionUtils
Describe the contents of the given list in the given description.
describeCollectionType(Description) - Method in class org.axonframework.test.matchers.ExactSequenceMatcher
 
describeCollectionType(Description) - Method in class org.axonframework.test.matchers.ListMatcher
Describes the type of collection expected.
describeCollectionType(Description) - Method in class org.axonframework.test.matchers.ListWithAllOfMatcher
 
describeCollectionType(Description) - Method in class org.axonframework.test.matchers.ListWithAnyOfMatcher
 
describeCollectionType(Description) - Method in class org.axonframework.test.matchers.SequenceMatcher
 
describeTo(Description) - Method in class org.axonframework.test.matchers.EmptyCollectionMatcher
 
describeTo(Description) - Method in class org.axonframework.test.matchers.EqualFieldsMatcher
 
describeTo(Description) - Method in class org.axonframework.test.matchers.EqualsMatcher
 
describeTo(Description) - Method in class org.axonframework.test.matchers.ListMatcher
 
describeTo(Description) - Method in class org.axonframework.test.matchers.MapEntryMatcher
 
describeTo(Description) - Method in class org.axonframework.test.matchers.NullOrVoidMatcher
 
describeTo(Description) - Method in class org.axonframework.test.matchers.PayloadMatcher
 
describeTo(Description) - Method in class org.axonframework.test.matchers.PayloadsMatcher
 
describeTo(Description) - Method in class org.axonframework.test.matchers.PredicateMatcher
 
DescriptionUtils - Class in org.axonframework.test.saga
Utility class for creating a description.
dispatch(CommandMessage<C>) - Method in class org.axonframework.test.utils.RecordingCommandBus
 
dispatch(CommandMessage<C>, CommandCallback<? super C, ? super R>) - Method in class org.axonframework.test.utils.RecordingCommandBus
 
doApply(T, MetaData) - Method in class org.axonframework.test.aggregate.StubAggregateLifecycle
 
doCreateNew(Class<T>, Callable<T>) - Method in class org.axonframework.test.aggregate.StubAggregateLifecycle
 
doMarkDeleted() - Method in class org.axonframework.test.aggregate.StubAggregateLifecycle
 

E

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
Matcher testing for object equality as per Object.equals(Object o)
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
 

F

failedMatcherMessage() - Method in class org.axonframework.test.matchers.ListMatcher
The message to append behind a failing matcher.
failedMatcherMessage() - Method in class org.axonframework.test.matchers.ListWithAnyOfMatcher
 
FieldFilter - Interface in org.axonframework.test.matchers
The FieldFilter indicates whether any given Field should be accepted for processing or not.
FixtureConfiguration<T> - Interface in org.axonframework.test.aggregate
Interface describing the operations available on a test fixture in the configuration stage.
FixtureConfiguration - Interface in org.axonframework.test.saga
Interface describing action to perform on a Saga Test Fixture during the configuration phase.
FixtureExecutionException - Exception in org.axonframework.test
Exception indicating that an error occurred that prevented successful execution of a test fixture.
FixtureExecutionException(String) - Constructor for exception org.axonframework.test.FixtureExecutionException
Construct the exception with the given message.
FixtureExecutionException(String, Throwable) - Constructor for exception org.axonframework.test.FixtureExecutionException
Construct the exception with the given message and cause.
FixtureExecutionResult - Interface in org.axonframework.test.saga
Interface towards an object that contains the results of a Fixture execution.
FixtureExecutionResultImpl<T> - Class in org.axonframework.test.saga
Default implementation of FixtureExecutionResult.
FixtureResourceParameterResolverFactory - Class in org.axonframework.test
ParameterResolverFactory implementation for use in test cases that prevent that all declared resources on message handlers need to be configured.
FixtureResourceParameterResolverFactory() - Constructor for class org.axonframework.test.FixtureResourceParameterResolverFactory
 

G

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.

H

handle(EventMessage) - Method in class org.axonframework.test.saga.EventValidator
 
handle(Object, MetaData) - Method in interface org.axonframework.test.utils.CallbackBehavior
Invoked when the Command Bus receives a Command that is dispatched with a Callback method.
handle(Object, MetaData) - Method in class org.axonframework.test.utils.DefaultCallbackBehavior
 
handleDeadline(ScopeDescriptor, DeadlineMessage<?>) - Method in class org.axonframework.test.aggregate.AggregateTestFixture
Handles the given deadlineMessage in the aggregate described by the given aggregateDescriptor.
handleDeadline(ScopeDescriptor, DeadlineMessage<?>) - Method in class org.axonframework.test.saga.SagaTestFixture
Handles the given deadlineMessage in the saga described by the given sagaDescriptor.
handleInSaga(EventMessage<?>) - Method in class org.axonframework.test.saga.SagaTestFixture
Handles the given event in the scope of a Unit of Work.
hashCode() - Method in class org.axonframework.test.deadline.ScheduledDeadlineInfo
 
hashCode() - Method in class org.axonframework.test.eventscheduler.StubScheduleToken
 

I

identifier() - Method in class org.axonframework.test.aggregate.StubAggregateLifecycle
 
IgnoreField - Class in org.axonframework.test.matchers
FieldFilter implementation that rejects a given Field
IgnoreField(Field) - Constructor for class org.axonframework.test.matchers.IgnoreField
Initialize an instance that ignores the given field
IgnoreField(Class<?>, String) - Constructor for class org.axonframework.test.matchers.IgnoreField
Initialize an instance that ignores the a field with given fieldName, which is declared on the given clazz.
initializeAt(TemporalAccessor) - Method in class org.axonframework.test.deadline.StubDeadlineManager
Resets the initial "current time" of this manager.
initializeAt(TemporalAccessor) - Method in class org.axonframework.test.eventscheduler.StubEventScheduler
Resets the initial "current time" of this SubEventScheduler.
instance() - Static method in class org.axonframework.test.matchers.AllFieldsFilter
Returns the (singleton) instance of the AllFieldsFilter
instance() - Static method in class org.axonframework.test.matchers.NonStaticFieldsFilter
 
instance() - Static method in class org.axonframework.test.matchers.NonTransientFieldsFilter
Returns the (singleton) instance of the AllFieldsFilter
isMarkedDeleted() - Method in class org.axonframework.test.aggregate.StubAggregateLifecycle
Indicates whether an Aggregate has invoked "markDeleted" while this lifecycle was active.
isSubscribed(MessageHandler<? super CommandMessage<?>>) - Method in class org.axonframework.test.utils.RecordingCommandBus
Indicates whether the given commandHandler is subscribed to this command bus.
isSubscribed(String, MessageHandler<? super CommandMessage<?>>) - Method in class org.axonframework.test.utils.RecordingCommandBus
Indicates whether the given commandHandler is subscribed to commands of the given commandType on this command bus.

L

ListMatcher<T> - Class in org.axonframework.test.matchers
Abstract implementation for matchers that use event-specific matchers to match against a list of items.
ListMatcher(Matcher<? super T>...) - Constructor for class org.axonframework.test.matchers.ListMatcher
Creates an abstract matcher to match a number of Matchers against Events contained inside a Collection.
listWithAllOf(Matcher<T>...) - Static method in class org.axonframework.test.matchers.Matchers
Matches a List where all the given matchers must match with at least one of the items in that list.
ListWithAllOfMatcher<T> - Class in org.axonframework.test.matchers
A matcher that will match if all the given matchers match against at least one item in a given List.
ListWithAllOfMatcher(Matcher<T>...) - Constructor for class org.axonframework.test.matchers.ListWithAllOfMatcher
Construct a matcher that will return true if all the given matchers match against at least one item in any given List.
listWithAnyOf(Matcher<T>...) - Static method in class org.axonframework.test.matchers.Matchers
Matches a List of Events where at least one of the given matchers matches any of the Events in that list.
ListWithAnyOfMatcher<T> - Class in org.axonframework.test.matchers
A matcher that will match if all the given matchers match against at least one item in a given List.
ListWithAnyOfMatcher(Matcher<T>...) - Constructor for class org.axonframework.test.matchers.ListWithAnyOfMatcher
Construct a matcher that will return true if any of the given matchers matches against at least one item in a given List.

M

MapEntryMatcher - Class in org.axonframework.test.matchers
Matcher that will match an Object if that object is a Map of which all keys-values pairs are equal to pairs of the expected instance.
MapEntryMatcher(Map<String, Object>) - Constructor for class org.axonframework.test.matchers.MapEntryMatcher
 
MatchAllFieldFilter - Class in org.axonframework.test.matchers
FieldFilter that delegates to an arbitrary number of other filters.
MatchAllFieldFilter(Collection<FieldFilter>) - Constructor for class org.axonframework.test.matchers.MatchAllFieldFilter
Initializes a filter that accepts any field that is accepted by all given filters
MatcherExecutionException - Exception in org.axonframework.test.matchers
Exception indicating that an error occurred that prevented successful execution of a matcher.
MatcherExecutionException(String) - Constructor for exception org.axonframework.test.matchers.MatcherExecutionException
Construct the exception with the given message.
MatcherExecutionException(String, Throwable) - Constructor for exception org.axonframework.test.matchers.MatcherExecutionException
Construct the exception with the given message and cause.
Matchers - Class in org.axonframework.test.matchers
Utility class containing static methods to obtain instances of (List) Matchers.
matches(Object) - Method in class org.axonframework.test.matchers.EmptyCollectionMatcher
 
matches(Object) - Method in class org.axonframework.test.matchers.EqualFieldsMatcher
 
matches(Object) - Method in class org.axonframework.test.matchers.ListMatcher
 
matches(Predicate<T>) - Static method in class org.axonframework.test.matchers.Matchers
Returns a Matcher that matches with values defined by the given predicate.
matches(Object) - Method in class org.axonframework.test.matchers.NullOrVoidMatcher
 
matches(Object) - Method in class org.axonframework.test.matchers.PayloadMatcher
 
matches(Object) - Method in class org.axonframework.test.matchers.PayloadsMatcher
 
matchesList(List<T>) - Method in class org.axonframework.test.matchers.ExactSequenceMatcher
 
matchesList(List<T>) - Method in class org.axonframework.test.matchers.ListMatcher
Evaluates the matcher for argument item.
matchesList(List<T>) - Method in class org.axonframework.test.matchers.ListWithAllOfMatcher
 
matchesList(List<T>) - Method in class org.axonframework.test.matchers.ListWithAnyOfMatcher
 
matchesList(List<T>) - Method in class org.axonframework.test.matchers.SequenceMatcher
 
matchesSafely(T) - Method in class org.axonframework.test.matchers.EqualsMatcher
 
matchesSafely(Map<String, Object>) - Method in class org.axonframework.test.matchers.MapEntryMatcher
 
matchesSafely(T) - Method in class org.axonframework.test.matchers.PredicateMatcher
 
matchRemainder(Iterator<Matcher<? super T>>) - Method in class org.axonframework.test.matchers.ListMatcher
Matches all the remaining Matchers in the given matcherIterator against null.
messageWithPayload(Matcher<?>) - Static method in class org.axonframework.test.matchers.Matchers
Matches a single Message if the given payloadMatcher matches that message's payload.

N

noCommands() - Static method in class org.axonframework.test.matchers.Matchers
Matches an empty List of Commands.
noEvents() - Static method in class org.axonframework.test.matchers.Matchers
Matches an empty List of Events.
NonStaticFieldsFilter - Class in org.axonframework.test.matchers
FieldFilter implementation that only accepts non-static Fields.
NonTransientFieldsFilter - Class in org.axonframework.test.matchers
FieldFilter implementation that only accepts non-transient Fields.
nothing() - Static method in class org.axonframework.test.matchers.Matchers
Matches against null or void.
NullOrVoidMatcher<T> - Class in org.axonframework.test.matchers
Matcher that matches against a null or void value.
NullOrVoidMatcher() - Constructor for class org.axonframework.test.matchers.NullOrVoidMatcher
 

O

onResult(CommandMessage<?>, CommandResultMessage<?>) - Method in class org.axonframework.test.aggregate.ResultValidatorImpl
 
org.axonframework.test - package org.axonframework.test
Classes in support of testing Axon based applications.
org.axonframework.test.aggregate - package org.axonframework.test.aggregate
 
org.axonframework.test.deadline - package org.axonframework.test.deadline
 
org.axonframework.test.eventscheduler - package org.axonframework.test.eventscheduler
 
org.axonframework.test.matchers - package org.axonframework.test.matchers
 
org.axonframework.test.saga - package org.axonframework.test.saga
 
org.axonframework.test.utils - package org.axonframework.test.utils
A collection of classes which may prove useful when testing Axon-based classes.

P

PayloadMatcher<T extends org.axonframework.messaging.Message> - Class in org.axonframework.test.matchers
Matcher that matches any message (e.g.
PayloadMatcher(Matcher<?>) - Constructor for class org.axonframework.test.matchers.PayloadMatcher
Constructs an instance with the given payloadMatcher.
PayloadsMatcher - Class in org.axonframework.test.matchers
Matches a list of Messages if the list of their payloads matches the given matcher..
PayloadsMatcher(Matcher<? extends Iterable<?>>) - Constructor for class org.axonframework.test.matchers.PayloadsMatcher
Constructs an instance that uses the given matcher to match the payloads.
payloadsMatching(Matcher<? extends List<?>>) - Static method in class org.axonframework.test.matchers.Matchers
Matches a list of Messages if a list containing their respective payloads matches the given matcher.
predicate(Predicate<T>) - Static method in class org.axonframework.test.matchers.Matchers
Returns a Matcher that matches with values defined by the given predicate.
PredicateMatcher<T> - Class in org.axonframework.test.matchers
Matcher implementation that delegates the matching to a Predicate.
PredicateMatcher(Predicate<T>) - Constructor for class org.axonframework.test.matchers.PredicateMatcher
Initializes the matcher using given predicate to test values to match against.
published(Object...) - Method in interface org.axonframework.test.saga.GivenAggregateEventPublisher
Register the given events as being published somewhere in the past.
publishes(Object) - Method in interface org.axonframework.test.saga.WhenAggregateEventPublisher
Register the given event to be published on behalf of an aggregate.
publishes(Object, Map<String, ?>) - Method in interface org.axonframework.test.saga.WhenAggregateEventPublisher
Register the given event to be published on behalf of an aggregate, with given additional metaData.

R

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.

S

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
Deprecated.
in favor of StubAggregateLifecycleExtension to be used in combination with Junit 5
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
Initializes the manager with ZonedDateTime.now() as current time.
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
 

T

TestExecutor<T> - Interface in org.axonframework.test.aggregate
Interface describing the operations available on a test fixture in the execution stage.
type() - Method in class org.axonframework.test.aggregate.StubAggregateLifecycle
 

V

version() - Method in class org.axonframework.test.aggregate.StubAggregateLifecycle
 

W

when(Object) - Method in class org.axonframework.test.aggregate.AggregateTestFixture
 
when(Object, Map<String, ?>) - Method in class org.axonframework.test.aggregate.AggregateTestFixture
 
when(Object) - Method in interface org.axonframework.test.aggregate.TestExecutor
Dispatches the given command to the appropriate command handler and records all activity in the fixture for result validation.
when(Object, Map<String, ?>) - Method in interface org.axonframework.test.aggregate.TestExecutor
Dispatches the given command and meta data to the appropriate command handler and records all activity in the fixture for result validation.
whenAggregate(String) - Method in class org.axonframework.test.saga.SagaTestFixture
 
whenAggregate(String) - Method in interface org.axonframework.test.saga.WhenState
Use this method to indicate that an aggregate with given identifier should publish certain events, while recording the outcome.
WhenAggregateEventPublisher - Interface in org.axonframework.test.saga
Interface to an object that publishes events on behalf of an aggregate.
whenPublishingA(Object) - Method in class org.axonframework.test.saga.SagaTestFixture
 
whenPublishingA(Object, Map<String, ?>) - Method in class org.axonframework.test.saga.SagaTestFixture
 
whenPublishingA(Object) - Method in interface org.axonframework.test.saga.WhenState
Use this method to indicate an application is published, while recording the outcome.
whenPublishingA(Object, Map<String, ?>) - Method in interface org.axonframework.test.saga.WhenState
Use this method to indicate an application is published with given additional metaData, while recording the outcome.
WhenState - Interface in org.axonframework.test.saga
Interface providing an API to methods in the "when" state of the fixture execution.
whenThenTimeAdvancesTo(Instant) - Method in class org.axonframework.test.aggregate.AggregateTestFixture
 
whenThenTimeAdvancesTo(Instant) - Method in interface org.axonframework.test.aggregate.TestExecutor
Simulates the time advancing in the current given state using an Instant as the unit of time.
whenThenTimeElapses(Duration) - Method in class org.axonframework.test.aggregate.AggregateTestFixture
 
whenThenTimeElapses(Duration) - Method in interface org.axonframework.test.aggregate.TestExecutor
Simulates the time elapsing in the current given state using a Duration as the unit of time.
whenTimeAdvancesTo(Instant) - Method in class org.axonframework.test.saga.SagaTestFixture
 
whenTimeAdvancesTo(Instant) - Method in interface org.axonframework.test.saga.WhenState
Mimic an elapsed time with no relevant activity for the Saga.
whenTimeElapses(Duration) - Method in class org.axonframework.test.saga.SagaTestFixture
 
whenTimeElapses(Duration) - Method in interface org.axonframework.test.saga.WhenState
Mimic an elapsed time with no relevant activity for the Saga.
withSubtypes(Class<? extends T>...) - Method in class org.axonframework.test.aggregate.AggregateTestFixture
 
withSubtypes(Class<? extends T>...) - Method in interface org.axonframework.test.aggregate.FixtureConfiguration
Registers subtypes of this aggregate to support aggregate polymorphism.
withTransienceCheckDisabled() - Method in interface org.axonframework.test.saga.FixtureConfiguration
Disables the check that injected resources are stored in fields that are marked 'transient'.
withTransienceCheckDisabled() - Method in class org.axonframework.test.saga.SagaTestFixture
 
A B C D E F G H I L M N O P R S T V W 
Skip navigation links

Copyright © 2010–2022. All rights reserved.