Index
All Classes and Interfaces|All Packages|Serialized Form
A
- accept(Field) - Method in class org.axonframework.test.matchers.AllFieldsFilter
- accept(Field) - Method in interface org.axonframework.test.matchers.FieldFilter
-
Indicates whether the given
fieldshould 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
- accept(T) - Method in interface org.axonframework.test.eventscheduler.EventConsumer
-
Performs this operation on the given argument.
- 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
durationand invokes the givendeadlineConsumerfor each deadline scheduled until that time. - advanceTimeBy(Duration, EventConsumer<EventMessage<?>>) - Method in class org.axonframework.test.eventscheduler.StubEventScheduler
-
Advance time by the given
durationand invokes the giveneventConsumerfor each event scheduled for publication until that time. - advanceTimeTo(Instant, DeadlineConsumer) - Method in class org.axonframework.test.deadline.StubDeadlineManager
-
Advances time to the given
newDateTimeand invokes the givendeadlineConsumerfor each deadline scheduled until that time. - advanceTimeTo(Instant, EventConsumer<EventMessage<?>>) - Method in class org.axonframework.test.eventscheduler.StubEventScheduler
-
Advance time to the given
newDateTimeand invokes the giveneventConsumerfor 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(Object...) - Method in interface org.axonframework.test.aggregate.TestExecutor
-
Configures the given
domainEventsas the "given" events. - andGiven(List<?>) - Method in class org.axonframework.test.aggregate.AggregateTestFixture
- andGiven(List<?>) - Method in interface org.axonframework.test.aggregate.TestExecutor
-
Configures the given
domainEventsas the "given" events. - andGivenCommands(Object...) - Method in class org.axonframework.test.aggregate.AggregateTestFixture
- andGivenCommands(Object...) - Method in interface org.axonframework.test.aggregate.TestExecutor
-
Configures the given
commandsas the command that will provide the "given" events. - andGivenCommands(List<?>) - Method in class org.axonframework.test.aggregate.AggregateTestFixture
- andGivenCommands(List<?>) - Method in interface org.axonframework.test.aggregate.TestExecutor
-
Configures the given
commandsas 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
nullorvoid. - 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
eventhas been published in the past. - andThenAPublished(Object) - Method in class org.axonframework.test.saga.SagaTestFixture
- andThenAPublished(Object, Map<String, ?>) - Method in interface org.axonframework.test.saga.ContinuedGivenState
-
Indicates that the given
eventwith givenmetaDatahas been published in the past. - andThenAPublished(Object, Map<String, ?>) - Method in class org.axonframework.test.saga.SagaTestFixture
- andThenTimeAdvancesTo(Instant) - Method in interface org.axonframework.test.aggregate.TestExecutor
-
Deprecated.
- 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.whenTimeElapses(Duration). This function incorrectly suggests you can proceed with other operations after calling it, which is made impossible due to theResultValidatorreturn 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
expectedamount of active sagas. - assertAssociationPresent(String, String) - Method in class org.axonframework.test.saga.RepositoryContentValidator
-
Asserts that an association is present for the given
associationKeyandassociationValue. - assertDeadlinesMet(Object...) - Method in class org.axonframework.test.deadline.DeadlineManagerValidator
-
Deprecated.
- assertDeadlinesMetMatching(Matcher<? extends Iterable<?>>) - Method in class org.axonframework.test.deadline.DeadlineManagerValidator
-
Deprecated.
- 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
matcherhas 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
associationKeyandassociationValue. - assertNoScheduledDeadlineMatching(Matcher<?>) - Method in class org.axonframework.test.deadline.DeadlineManagerValidator
-
Asserts that no deadline matching the given
matcherhas 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
matcherhas been scheduled after the givenduration. - assertNoScheduledEventMatching(Instant, Matcher<?>) - Method in class org.axonframework.test.eventscheduler.EventSchedulerValidator
-
Asserts that no event matching the given
matcherhas been scheduled at the givenscheduledTime. - 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
expectedevents 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
durationmatches the givenmatcher. - assertScheduledDeadlineMatching(Instant, Matcher<?>) - Method in class org.axonframework.test.deadline.DeadlineManagerValidator
-
Asserts that a deadline scheduled at the given
scheduledTimematches the givenmatcher. - assertScheduledEventMatching(Duration, Matcher<?>) - Method in class org.axonframework.test.eventscheduler.EventSchedulerValidator
-
Asserts that an event matching the given
matcheris scheduled for publication after the givenduration. - assertScheduledEventMatching(Instant, Matcher<?>) - Method in class org.axonframework.test.eventscheduler.EventSchedulerValidator
-
Asserts that an event matching the given
matcheris scheduled for publication at the givenscheduledTime. - assertTriggeredDeadlines(Object...) - Method in class org.axonframework.test.deadline.DeadlineManagerValidator
-
Asserts that the given
expecteddeadlines have been triggered. - assertTriggeredDeadlinesMatching(Matcher<? extends Iterable<?>>) - Method in class org.axonframework.test.deadline.DeadlineManagerValidator
-
Asserts that the triggered deadlines match the given
matcher. - assertTriggeredDeadlinesOfType(Class<?>...) - Method in class org.axonframework.test.deadline.DeadlineManagerValidator
-
Asserts that the given
expectedDeadlineTypeshave been triggered. - assertTriggeredDeadlinesWithName(String...) - Method in class org.axonframework.test.deadline.DeadlineManagerValidator
-
Asserts that the given
expectedDeadlineNameshave been triggered. - 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. - AxonServerContainer - Class in org.axonframework.test.server
-
Constructs an Axon Server container for testing.
- AxonServerContainer() - Constructor for class org.axonframework.test.server.AxonServerContainer
-
Initialize an Axon Server
test containerusing the default image name"docker.axoniq.io/axoniq/axonserver". - AxonServerContainer(String) - Constructor for class org.axonframework.test.server.AxonServerContainer
-
Initialize Axon Server with the given
dockerImageName. - AxonServerContainer(DockerImageName) - Constructor for class org.axonframework.test.server.AxonServerContainer
-
Initialize Axon Server with the given
dockerImageName. - AxonServerEEContainer<SELF extends AxonServerEEContainer<SELF>> - Class in org.axonframework.test.server
-
Deprecated.In favor of
AxonServerContainerfollowing the merger of Standard and Enterprise edition into a single version. - AxonServerEEContainer(String) - Constructor for class org.axonframework.test.server.AxonServerEEContainer
-
Deprecated.Initialize AxonServer EE with a given docker image.
- AxonServerEEContainer(DockerImageName) - Constructor for class org.axonframework.test.server.AxonServerEEContainer
-
Deprecated.Initialize AxonServer EE with a given docker image.
- AxonServerSEContainer<SELF extends AxonServerSEContainer<SELF>> - Class in org.axonframework.test.server
-
Deprecated.In favor of
AxonServerContainerfollowing the merger of Standard and Enterprise edition into a single version. - AxonServerSEContainer(String) - Constructor for class org.axonframework.test.server.AxonServerSEContainer
-
Deprecated.Initialize AxonServer SE with a given docker image.
- AxonServerSEContainer(DockerImageName) - Constructor for class org.axonframework.test.server.AxonServerSEContainer
-
Deprecated.Initialize AxonServer SE with a given docker image.
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
- configure() - Method in class org.axonframework.test.server.AxonServerContainer
- configure() - Method in class org.axonframework.test.server.AxonServerEEContainer
-
Deprecated.
- configure() - Method in class org.axonframework.test.server.AxonServerSEContainer
-
Deprecated.
- 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
Consumerof aDeadlineMessage. - 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
deadlineManagerwhich is used for validation purposes andfieldFilter. - deadlineMessage() - Method in class org.axonframework.test.deadline.ScheduledDeadlineInfo
-
Retrieve a
DeadlineMessageconstructed out of thedeadlineNameanddeadlineInfo. - deepEquals(T) - Static method in class org.axonframework.test.matchers.Matchers
-
Constructs a deep equals
Matcher. - deepEquals(T, FieldFilter) - Static method in class org.axonframework.test.matchers.Matchers
-
Constructs a deep equals
Matcher. - DeepEqualsMatcher<T> - Class in org.axonframework.test.matchers
-
A
BaseMatcherimplementation that first matches based onObject.equals(Object). - DeepEqualsMatcher(T) - Constructor for class org.axonframework.test.matchers.DeepEqualsMatcher
- DeepEqualsMatcher(T, FieldFilter) - Constructor for class org.axonframework.test.matchers.DeepEqualsMatcher
- 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
listin the givendescription. - 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.DeepEqualsMatcher
- 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.ExactClassMatcher
- 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
- doStart() - Method in class org.axonframework.test.server.AxonServerContainer
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
expectedobject. - 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
expectedobject. - equals(Object) - Method in class org.axonframework.test.deadline.ScheduledDeadlineInfo
- equals(Object) - Method in class org.axonframework.test.eventscheduler.StubScheduleToken
- equals(Object) - Method in class org.axonframework.test.server.AxonServerContainer
- equals(Object) - Method in class org.axonframework.test.server.AxonServerEEContainer
-
Deprecated.
- equals(Object) - Method in class org.axonframework.test.server.AxonServerSEContainer
-
Deprecated.
- 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
-
Deprecated.Please use the
Matchers.deepEquals(Object)instead. Using this method will lead to unwanted exceptions when ran on JDK 17 and up, due to adjustments in reflective access. - equalTo(T, FieldFilter) - Static method in class org.axonframework.test.matchers.Matchers
-
Deprecated.Please use the
Matchers.deepEquals(Object, FieldFilter)instead. Using this method will lead to unwanted exceptions when ran on JDK 17 and up, due to adjustments in reflective access. - 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. - ExactClassMatcher<T> - Class in org.axonframework.test.matchers
-
Matcher testing for exact classes.
- ExactClassMatcher(Class<T>) - Constructor for class org.axonframework.test.matchers.ExactClassMatcher
- exactClassOf(Class<T>) - Static method in class org.axonframework.test.matchers.ExactClassMatcher
- exactClassOf(Class<T>) - Static method in class org.axonframework.test.matchers.Matchers
-
Returns a Matcher that matches with exact class type defined by the given
expected. - ExactSequenceMatcher<T> - Class in org.axonframework.test.matchers
-
A matcher that will match if all the given
matchersagainst 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
matchersmatch 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
matchersmatches 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. ready to respond to incoming events.
- 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
associationKeyandassociationValue. - expectAssociationWith(String, Object) - Method in class org.axonframework.test.saga.FixtureExecutionResultImpl
- expectDeadlinesMet(Object...) - Method in interface org.axonframework.test.aggregate.ResultValidator
-
Deprecated.
- expectDeadlinesMet(Object...) - Method in class org.axonframework.test.aggregate.ResultValidatorImpl
- expectDeadlinesMet(Object...) - Method in interface org.axonframework.test.saga.FixtureExecutionResult
-
Deprecated.
- expectDeadlinesMet(Object...) - Method in class org.axonframework.test.saga.FixtureExecutionResultImpl
- expectDeadlinesMetMatching(Matcher<? extends List<? super DeadlineMessage<?>>>) - Method in interface org.axonframework.test.aggregate.ResultValidator
-
Deprecated.
- 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
-
Deprecated.
- 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(Object...) - Method in class org.axonframework.test.aggregate.ResultValidatorImpl
- expectEvents(EventMessage<?>...) - Method in interface org.axonframework.test.aggregate.ResultValidator
-
Expect the given set of events to have been published.
- 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
expectedExceptionto occur during command handler execution. - expectException(Class<? extends Throwable>) - Method in class org.axonframework.test.aggregate.ResultValidatorImpl
- 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(Matcher<?>) - Method in class org.axonframework.test.aggregate.ResultValidatorImpl
- expectExceptionDetails(Class<?>) - Method in interface org.axonframework.test.aggregate.ResultValidator
-
Expect the given
exceptionDetailstype to occur during command handler execution. - expectExceptionDetails(Class<?>) - Method in class org.axonframework.test.aggregate.ResultValidatorImpl
- expectExceptionDetails(Object) - Method in interface org.axonframework.test.aggregate.ResultValidator
-
Expect the given
exceptionDetailsto occur during command handler execution. - expectExceptionDetails(Object) - Method in class org.axonframework.test.aggregate.ResultValidatorImpl
- expectExceptionDetails(Matcher<?>) - Method in interface org.axonframework.test.aggregate.ResultValidator
-
Expect exception details to occur during command handler execution that matches with the given
matcher. - expectExceptionDetails(Matcher<?>) - Method in class org.axonframework.test.aggregate.ResultValidatorImpl
- expectExceptionMessage(String) - Method in interface org.axonframework.test.aggregate.ResultValidator
-
Expect the given
exceptionMessageto occur during command handler execution. - expectExceptionMessage(String) - 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(Matcher<?>) - 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
associationKeyandassociationValue. - 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
deadlinehas been scheduled after the givendurationToScheduledTime. - expectNoScheduledDeadline(Duration, 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
deadlinehas been scheduled after the givendurationToScheduledTime. - expectNoScheduledDeadline(Duration, Object) - Method in class org.axonframework.test.saga.FixtureExecutionResultImpl
- expectNoScheduledDeadline(Instant, Object) - Method in interface org.axonframework.test.aggregate.ResultValidator
-
Asserts that no deadline equal to the given
deadlinehas been scheduled at the givenscheduledTime. - expectNoScheduledDeadline(Instant, Object) - Method in class org.axonframework.test.aggregate.ResultValidatorImpl
- expectNoScheduledDeadline(Instant, Object) - Method in interface org.axonframework.test.saga.FixtureExecutionResult
-
Asserts that no deadline equal to the given
deadlinehas been scheduled at the givenscheduledTime. - expectNoScheduledDeadline(Instant, Object) - Method in class org.axonframework.test.saga.FixtureExecutionResultImpl
- expectNoScheduledDeadline(Instant, Instant, Object) - Method in interface org.axonframework.test.aggregate.ResultValidator
-
Asserts that no deadline equal to the given
deadlinehas been scheduled between thetoandfromtimes, wheretoandfromare inclusive. - expectNoScheduledDeadline(Instant, Instant, Object) - Method in class org.axonframework.test.aggregate.ResultValidatorImpl
- expectNoScheduledDeadline(Instant, Instant, Object) - Method in interface org.axonframework.test.saga.FixtureExecutionResult
-
Asserts that no deadline equal to the given
deadlinehas been scheduled between thetoandfromtimes, wheretoandfromare inclusive. - expectNoScheduledDeadline(Instant, Instant, Object) - Method in class org.axonframework.test.saga.FixtureExecutionResultImpl
- expectNoScheduledDeadlineMatching(Duration, Matcher<? super DeadlineMessage<?>>) - Method in interface org.axonframework.test.aggregate.ResultValidator
-
Asserts that no deadline matching the given
matchershould be scheduled after the givendurationToScheduledTime. - expectNoScheduledDeadlineMatching(Duration, Matcher<? super DeadlineMessage<?>>) - Method in class org.axonframework.test.aggregate.ResultValidatorImpl
- expectNoScheduledDeadlineMatching(Duration, Matcher<? super DeadlineMessage<?>>) - Method in interface org.axonframework.test.saga.FixtureExecutionResult
-
Asserts that no deadline matching the given
matchershould be scheduled after the givendurationToScheduledTime. - expectNoScheduledDeadlineMatching(Duration, Matcher<? super DeadlineMessage<?>>) - Method in class org.axonframework.test.saga.FixtureExecutionResultImpl
- expectNoScheduledDeadlineMatching(Instant, Instant, Matcher<? super DeadlineMessage<?>>) - Method in interface org.axonframework.test.aggregate.ResultValidator
-
Asserts that no deadline matching the given
matcherhas been scheduled between thetoandfromtimes, wheretoandfromare inclusive. - expectNoScheduledDeadlineMatching(Instant, Instant, Matcher<? super DeadlineMessage<?>>) - Method in class org.axonframework.test.aggregate.ResultValidatorImpl
- expectNoScheduledDeadlineMatching(Instant, Instant, Matcher<? super DeadlineMessage<?>>) - Method in interface org.axonframework.test.saga.FixtureExecutionResult
-
Asserts that no deadline matching the given
matcherhas been scheduled between thetoandfromtimes, wheretoandfromare inclusive. - expectNoScheduledDeadlineMatching(Instant, Instant, Matcher<? super DeadlineMessage<?>>) - Method in class org.axonframework.test.saga.FixtureExecutionResultImpl
- expectNoScheduledDeadlineMatching(Instant, Matcher<? super DeadlineMessage<?>>) - Method in interface org.axonframework.test.aggregate.ResultValidator
-
Asserts that no deadline matching the given
matcherhas been scheduled at the givenscheduledTime. - expectNoScheduledDeadlineMatching(Instant, Matcher<? super DeadlineMessage<?>>) - Method in class org.axonframework.test.aggregate.ResultValidatorImpl
- expectNoScheduledDeadlineMatching(Instant, Matcher<? super DeadlineMessage<?>>) - Method in interface org.axonframework.test.saga.FixtureExecutionResult
-
Asserts that no deadline matching the given
matcherhas been scheduled at the givenscheduledTime. - expectNoScheduledDeadlineMatching(Instant, Matcher<? super DeadlineMessage<?>>) - 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
matcheris scheduled. - expectNoScheduledDeadlineMatching(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
matcheris scheduled. - expectNoScheduledDeadlineMatching(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
deadlineTypehas been scheduled after the givendurationToScheduledTime. - expectNoScheduledDeadlineOfType(Duration, 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
deadlineTypehas been scheduled at the givendurationToScheduledTime. - expectNoScheduledDeadlineOfType(Duration, Class<?>) - Method in class org.axonframework.test.saga.FixtureExecutionResultImpl
- expectNoScheduledDeadlineOfType(Instant, Class<?>) - Method in interface org.axonframework.test.aggregate.ResultValidator
-
Asserts that no deadline with the given
deadlineTypehas been scheduled at the givenscheduledTime. - expectNoScheduledDeadlineOfType(Instant, Class<?>) - Method in class org.axonframework.test.aggregate.ResultValidatorImpl
- expectNoScheduledDeadlineOfType(Instant, Class<?>) - Method in interface org.axonframework.test.saga.FixtureExecutionResult
-
Asserts that no deadline with the given
deadlineTypehas been scheduled at the givenscheduledTime. - expectNoScheduledDeadlineOfType(Instant, Class<?>) - Method in class org.axonframework.test.saga.FixtureExecutionResultImpl
- expectNoScheduledDeadlineOfType(Instant, Instant, Class<?>) - Method in interface org.axonframework.test.aggregate.ResultValidator
-
Asserts that no deadline with the given
deadlineTypehas been scheduled between thetoandfromtimes, wheretoandfromare inclusive. - expectNoScheduledDeadlineOfType(Instant, Instant, Class<?>) - Method in class org.axonframework.test.aggregate.ResultValidatorImpl
- expectNoScheduledDeadlineOfType(Instant, Instant, Class<?>) - Method in interface org.axonframework.test.saga.FixtureExecutionResult
-
Asserts that no deadline with the given
deadlineTypehas been scheduled between thetoandfromtimes, wheretoandfromare inclusive. - expectNoScheduledDeadlineOfType(Instant, 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
deadlineNamehas been scheduled after the givendurationToScheduledTime. - expectNoScheduledDeadlineWithName(Duration, 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
deadlineNamehas been scheduled after the givendurationToScheduledTime. - expectNoScheduledDeadlineWithName(Duration, String) - Method in class org.axonframework.test.saga.FixtureExecutionResultImpl
- expectNoScheduledDeadlineWithName(Instant, String) - Method in interface org.axonframework.test.aggregate.ResultValidator
-
Asserts that no deadline with the given
deadlineNamehas been scheduled at the givenscheduledTime. - expectNoScheduledDeadlineWithName(Instant, String) - Method in class org.axonframework.test.aggregate.ResultValidatorImpl
- expectNoScheduledDeadlineWithName(Instant, String) - Method in interface org.axonframework.test.saga.FixtureExecutionResult
-
Asserts that no deadline with the given
deadlineNamehas been scheduled at the givenscheduledTime. - expectNoScheduledDeadlineWithName(Instant, String) - Method in class org.axonframework.test.saga.FixtureExecutionResultImpl
- expectNoScheduledDeadlineWithName(Instant, Instant, String) - Method in interface org.axonframework.test.aggregate.ResultValidator
-
Asserts that no deadline with the given
deadlineNamehas been scheduled between thetoandfromtimes, wheretoandfromare inclusive. - expectNoScheduledDeadlineWithName(Instant, Instant, String) - Method in class org.axonframework.test.aggregate.ResultValidatorImpl
- expectNoScheduledDeadlineWithName(Instant, Instant, String) - Method in interface org.axonframework.test.saga.FixtureExecutionResult
-
Asserts that no deadline with the given
deadlineNamehas been scheduled between thetoandfromtimes, wheretoandfromare inclusive. - expectNoScheduledDeadlineWithName(Instant, 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
eventhas been scheduled after the givendurationToScheduledTime. - expectNoScheduledEvent(Duration, Object) - Method in class org.axonframework.test.saga.FixtureExecutionResultImpl
- expectNoScheduledEvent(Instant, Object) - Method in interface org.axonframework.test.saga.FixtureExecutionResult
-
Asserts that no event equal to the given
eventhas been scheduled at the givenscheduledTime. - 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
matcherhas been scheduled to be published after the givendurationToScheduledTime. - expectNoScheduledEventMatching(Duration, Matcher<? super EventMessage<?>>) - Method in class org.axonframework.test.saga.FixtureExecutionResultImpl
- expectNoScheduledEventMatching(Instant, Matcher<? super EventMessage<?>>) - Method in interface org.axonframework.test.saga.FixtureExecutionResult
-
Asserts that no event matching the given
matcherhas been scheduled at the givenscheduledTime. - 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
eventTypehas been scheduled after the givendurationToScheduledTime. - expectNoScheduledEventOfType(Duration, Class<?>) - Method in class org.axonframework.test.saga.FixtureExecutionResultImpl
- expectNoScheduledEventOfType(Instant, Class<?>) - Method in interface org.axonframework.test.saga.FixtureExecutionResult
-
Asserts that no event with the given
eventTypehas been scheduled at the givenscheduledTime. - 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
expectedevents. - 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
expectedResultMessageafter 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
matcherafter 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
expectedPayloadafter 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
matcherafter 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
deadlinehas been scheduled after the givenduration. - expectScheduledDeadline(Duration, 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
deadlinehas been scheduled after the givenduration. - expectScheduledDeadline(Duration, Object) - Method in class org.axonframework.test.saga.FixtureExecutionResultImpl
- expectScheduledDeadline(Instant, Object) - Method in interface org.axonframework.test.aggregate.ResultValidator
-
Asserts that a deadline equal to the given
deadlinehas been scheduled at the givenscheduledTime. - expectScheduledDeadline(Instant, Object) - Method in class org.axonframework.test.aggregate.ResultValidatorImpl
- expectScheduledDeadline(Instant, Object) - Method in interface org.axonframework.test.saga.FixtureExecutionResult
-
Asserts that a deadline equal to the given
deadlinehas been scheduled at the givenscheduledTime. - 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
durationmatches the givenmatcher. - expectScheduledDeadlineMatching(Duration, 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
durationmatches the givenmatcher. - expectScheduledDeadlineMatching(Duration, Matcher<? super DeadlineMessage<?>>) - Method in class org.axonframework.test.saga.FixtureExecutionResultImpl
- expectScheduledDeadlineMatching(Instant, Matcher<? super DeadlineMessage<?>>) - Method in interface org.axonframework.test.aggregate.ResultValidator
-
Asserts that a deadline matching the given
matcherhas been scheduled at the givenscheduledTime. - expectScheduledDeadlineMatching(Instant, Matcher<? super DeadlineMessage<?>>) - Method in class org.axonframework.test.aggregate.ResultValidatorImpl
- expectScheduledDeadlineMatching(Instant, Matcher<? super DeadlineMessage<?>>) - Method in interface org.axonframework.test.saga.FixtureExecutionResult
-
Asserts that a deadline matching the given
matcherhas been scheduled at the givenscheduledTime. - 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
deadlineTypehas been scheduled after the givenduration. - expectScheduledDeadlineOfType(Duration, 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
deadlineTypehas been scheduled after the givenduration. - expectScheduledDeadlineOfType(Duration, Class<?>) - Method in class org.axonframework.test.saga.FixtureExecutionResultImpl
- expectScheduledDeadlineOfType(Instant, Class<?>) - Method in interface org.axonframework.test.aggregate.ResultValidator
-
Asserts that a deadline of the given
deadlineTypehas been scheduled at the givenscheduledTime. - expectScheduledDeadlineOfType(Instant, Class<?>) - Method in class org.axonframework.test.aggregate.ResultValidatorImpl
- expectScheduledDeadlineOfType(Instant, Class<?>) - Method in interface org.axonframework.test.saga.FixtureExecutionResult
-
Asserts that a deadline of the given
deadlineTypehas been scheduled at the givenscheduledTime. - 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
deadlineNamehas been scheduled after the givenduration. - expectScheduledDeadlineWithName(Duration, 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
deadlineNamehas been scheduled after the givenduration. - expectScheduledDeadlineWithName(Duration, String) - Method in class org.axonframework.test.saga.FixtureExecutionResultImpl
- expectScheduledDeadlineWithName(Instant, String) - Method in interface org.axonframework.test.aggregate.ResultValidator
-
Asserts that a deadline with the given
deadlineNamehas been scheduled at the givenscheduledTime. - expectScheduledDeadlineWithName(Instant, String) - Method in class org.axonframework.test.aggregate.ResultValidatorImpl
- expectScheduledDeadlineWithName(Instant, String) - Method in interface org.axonframework.test.saga.FixtureExecutionResult
-
Asserts that a deadline with the given
deadlineNamehas been scheduled at the givenscheduledTime. - 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
eventhas been scheduled for publication after the givenduration. - expectScheduledEvent(Duration, Object) - Method in class org.axonframework.test.saga.FixtureExecutionResultImpl
- expectScheduledEvent(Instant, Object) - Method in interface org.axonframework.test.saga.FixtureExecutionResult
-
Asserts that an event equal to the given
eventhas been scheduled for publication at the givenscheduledTime. - 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
matcherhas been scheduled to be published after the givenduration. - expectScheduledEventMatching(Duration, Matcher<? super EventMessage<?>>) - Method in class org.axonframework.test.saga.FixtureExecutionResultImpl
- expectScheduledEventMatching(Instant, Matcher<? super EventMessage<?>>) - Method in interface org.axonframework.test.saga.FixtureExecutionResult
-
Asserts that an event matching the given
matcherhas been scheduled to be published at the givenscheduledTime. - 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
eventTypehas been scheduled for publication after the givenduration. - expectScheduledEventOfType(Duration, Class<?>) - Method in class org.axonframework.test.saga.FixtureExecutionResultImpl
- expectScheduledEventOfType(Instant, Class<?>) - Method in interface org.axonframework.test.saga.FixtureExecutionResult
-
Asserts that an event of the given
eventTypehas been scheduled for publication at the givenscheduledTime. - 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
- expectSuccessfulHandlerExecution() - Method in interface org.axonframework.test.saga.FixtureExecutionResult
-
Expect a successful execution of the given event handler.
- expectSuccessfulHandlerExecution() - Method in class org.axonframework.test.saga.FixtureExecutionResultImpl
- expectTriggeredDeadlines(Object...) - Method in interface org.axonframework.test.aggregate.ResultValidator
-
Asserts that given
expecteddeadlines have been triggered. - expectTriggeredDeadlines(Object...) - Method in class org.axonframework.test.aggregate.ResultValidatorImpl
- expectTriggeredDeadlines(Object...) - Method in interface org.axonframework.test.saga.FixtureExecutionResult
-
Asserts that given
expecteddeadlines have been triggered. - expectTriggeredDeadlines(Object...) - Method in class org.axonframework.test.saga.FixtureExecutionResultImpl
- expectTriggeredDeadlinesMatching(Matcher<? extends List<? super DeadlineMessage<?>>>) - Method in interface org.axonframework.test.aggregate.ResultValidator
-
Asserts that deadlines matching the given
matcherhave been triggered for this aggregate. - expectTriggeredDeadlinesMatching(Matcher<? extends List<? super DeadlineMessage<?>>>) - Method in class org.axonframework.test.aggregate.ResultValidatorImpl
- expectTriggeredDeadlinesMatching(Matcher<? extends List<? super DeadlineMessage<?>>>) - Method in interface org.axonframework.test.saga.FixtureExecutionResult
-
Asserts that deadlines matching the given
matcherhave been triggered for this aggregate. - expectTriggeredDeadlinesMatching(Matcher<? extends List<? super DeadlineMessage<?>>>) - Method in class org.axonframework.test.saga.FixtureExecutionResultImpl
- expectTriggeredDeadlinesOfType(Class<?>...) - Method in interface org.axonframework.test.aggregate.ResultValidator
-
Asserts that the given
expectedDeadlineTypeshave been triggered. - expectTriggeredDeadlinesOfType(Class<?>...) - Method in class org.axonframework.test.aggregate.ResultValidatorImpl
- expectTriggeredDeadlinesOfType(Class<?>...) - Method in interface org.axonframework.test.saga.FixtureExecutionResult
-
Asserts that the given
expectedDeadlineTypeshave been triggered. - expectTriggeredDeadlinesOfType(Class<?>...) - Method in class org.axonframework.test.saga.FixtureExecutionResultImpl
- expectTriggeredDeadlinesWithName(String...) - Method in interface org.axonframework.test.aggregate.ResultValidator
-
Asserts that the given
expectedDeadlineNameshave been triggered. - expectTriggeredDeadlinesWithName(String...) - Method in class org.axonframework.test.aggregate.ResultValidatorImpl
- expectTriggeredDeadlinesWithName(String...) - Method in interface org.axonframework.test.saga.FixtureExecutionResult
-
Asserts that the given
expectedDeadlineNameshave been triggered. - expectTriggeredDeadlinesWithName(String...) - Method in class org.axonframework.test.saga.FixtureExecutionResultImpl
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
- failOnErrorInPreparation(boolean) - Method in class org.axonframework.test.saga.RecordingListenerInvocationErrorHandler
-
Configure whether this error handler should fail on errors in the preparation phase.
- 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
messageandcause. - 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.
- getAxonServerAddress() - Method in class org.axonframework.test.server.AxonServerContainer
-
Returns the container address in a
host:portformat. - getAxonServerAddress() - Method in class org.axonframework.test.server.AxonServerEEContainer
-
Deprecated.Returns the Axon Server's address container in a host:port format.
- getAxonServerAddress() - Method in class org.axonframework.test.server.AxonServerSEContainer
-
Deprecated.Returns the Axon Server's address container in a host:port format.
- 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
Instantas is being used by thisDeadlineManager. - 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
Stringdenoting the name of the deadline; can be used together with thescheduleIdto cancel the deadline. - getDeadlineScope() - Method in class org.axonframework.test.deadline.ScheduledDeadlineInfo
-
Retrieve a description of the
Scopein which the deadline is scheduled. - getDeadlinesMet() - Method in class org.axonframework.test.deadline.StubDeadlineManager
-
Deprecated.in favor of
StubDeadlineManager.getTriggeredDeadlines() - 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.
- getException() - Method in class org.axonframework.test.saga.RecordingListenerInvocationErrorHandler
-
Return the last encountered Exception after the startRecording method has been invoked, or an empty Optional of no Exception occurred.
- 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.
- getGrpcPort() - Method in class org.axonframework.test.server.AxonServerContainer
-
Returns the mapped gRPC port used by this Axon Server container.
- getGrpcPort() - Method in class org.axonframework.test.server.AxonServerEEContainer
-
Deprecated.Returns the mapped GRPC port used by this Axon Server container.
- getGrpcPort() - Method in class org.axonframework.test.server.AxonServerSEContainer
-
Deprecated.Returns the mapped GRPC port used by this Axon Server container.
- getHttpPort() - Method in class org.axonframework.test.server.AxonServerContainer
-
Returns the mapped Http port used by this Axon Server container.
- 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
Stringidentifier representing the scheduled deadline; can be used together with thedeadlineNameto cancel the deadline. - getScheduleTime() - Method in class org.axonframework.test.deadline.ScheduledDeadlineInfo
-
Retrieve the time as an
Instantat 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.
- getTriggeredDeadlines() - Method in class org.axonframework.test.deadline.StubDeadlineManager
-
Return all triggered deadlines.
- given(Object...) - Method in class org.axonframework.test.aggregate.AggregateTestFixture
- given(Object...) - Method in interface org.axonframework.test.aggregate.FixtureConfiguration
-
Configures the given
domainEventsas the "given" events. - given(List<?>) - Method in class org.axonframework.test.aggregate.AggregateTestFixture
- given(List<?>) - Method in interface org.axonframework.test.aggregate.FixtureConfiguration
-
Configures the given
domainEventsas 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
applicationEventhas been published in the past. - givenAPublished(Object) - Method in class org.axonframework.test.saga.SagaTestFixture
- givenAPublished(Object, Map<String, ?>) - Method in interface org.axonframework.test.saga.FixtureConfiguration
-
Indicates that the given
eventwith givenmetaDatahas been published in the past. - givenAPublished(Object, Map<String, ?>) - Method in class org.axonframework.test.saga.SagaTestFixture
- givenCommands(Object...) - Method in class org.axonframework.test.aggregate.AggregateTestFixture
- givenCommands(Object...) - Method in interface org.axonframework.test.aggregate.FixtureConfiguration
-
Configures the given
commandsas to execute against the aggregate under test to initiate the given-phase. - givenCommands(List<?>) - Method in class org.axonframework.test.aggregate.AggregateTestFixture
- givenCommands(List<?>) - Method in interface org.axonframework.test.aggregate.FixtureConfiguration
-
Configures the given
commandsas to execute against the aggregate under test to initiate the given-phase. - 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 activities like commands or events have 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
aggregateStateas the initial state for a test case.
H
- 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
- handle(EventMessage<?>) - Method in class org.axonframework.test.saga.EventValidator
- handleDeadline(ScopeDescriptor, DeadlineMessage<?>) - Method in class org.axonframework.test.aggregate.AggregateTestFixture
-
Handles the given
deadlineMessagein the aggregate described by the givenaggregateDescriptor. - handleDeadline(ScopeDescriptor, DeadlineMessage<?>) - Method in class org.axonframework.test.saga.SagaTestFixture
-
Handles the given
deadlineMessagein the saga described by the givensagaDescriptor. - handleInSaga(EventMessage<?>) - Method in class org.axonframework.test.saga.SagaTestFixture
-
Handles the given
eventin 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
- hashCode() - Method in class org.axonframework.test.server.AxonServerContainer
- hashCode() - Method in class org.axonframework.test.server.AxonServerEEContainer
-
Deprecated.
- hashCode() - Method in class org.axonframework.test.server.AxonServerSEContainer
-
Deprecated.
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(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 givenclazz. - IgnoreField(Field) - Constructor for class org.axonframework.test.matchers.IgnoreField
-
Initialize an instance that ignores the given
field - 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(String, MessageHandler<? super CommandMessage<?>>) - Method in class org.axonframework.test.utils.RecordingCommandBus
-
Indicates whether the given
commandHandleris subscribed to commands of the givencommandTypeon this command bus. - isSubscribed(MessageHandler<? super CommandMessage<?>>) - Method in class org.axonframework.test.utils.RecordingCommandBus
-
Indicates whether the given
commandHandleris subscribed to 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
matchersmatch 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
matchersmatch 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
matchersmatches any of the Events in that list. - ListWithAnyOfMatcher<T> - Class in org.axonframework.test.matchers
-
A matcher that will match if all the given
matchersmatch 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
matchersmatches 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
Mapof 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
messageandcause. - 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.DeepEqualsMatcher
- 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(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
- matches(Predicate<T>) - Static method in class org.axonframework.test.matchers.Matchers
-
Returns a Matcher that matches with values defined by the given
predicate. - 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(Map<String, Object>) - Method in class org.axonframework.test.matchers.MapEntryMatcher
- matchesSafely(T) - Method in class org.axonframework.test.matchers.EqualsMatcher
- matchesSafely(T) - Method in class org.axonframework.test.matchers.ExactClassMatcher
- 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
matcherIteratoragainstnull. - messageWithPayload(Matcher<?>) - Static method in class org.axonframework.test.matchers.Matchers
-
Matches a single Message if the given
payloadMatchermatches 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
nullorvoid. - NullOrVoidMatcher<T> - Class in org.axonframework.test.matchers
-
Matcher that matches against a
nullorvoidvalue. - NullOrVoidMatcher() - Constructor for class org.axonframework.test.matchers.NullOrVoidMatcher
O
- onError(Exception, EventMessage<?>, EventMessageHandler) - Method in class org.axonframework.test.saga.RecordingListenerInvocationErrorHandler
- onResult(CommandMessage<?>, CommandResultMessage<?>) - Method in class org.axonframework.test.aggregate.ResultValidatorImpl
- optionallyCopyResourceToContainer(String, String) - Method in class org.axonframework.test.server.AxonServerContainer
-
Map (effectively replace) a directory in Docker with the content of
resourceLocationif the resource location is notnull. - optionallyCopyResourceToContainer(String, String) - Method in class org.axonframework.test.server.AxonServerEEContainer
-
Deprecated.Map (effectively replace) directory in Docker with the content of resourceLocation if resource location is not null
- 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.server - package org.axonframework.test.server
- 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
matcherto 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
predicateto test values to match against. - published(Object...) - Method in interface org.axonframework.test.saga.GivenAggregateEventPublisher
-
Register the given
eventsas being published somewhere in the past. - publishes(Object) - Method in interface org.axonframework.test.saga.WhenAggregateEventPublisher
-
Register the given
eventto be published on behalf of an aggregate. - publishes(Object, Map<String, ?>) - Method in interface org.axonframework.test.saga.WhenAggregateEventPublisher
-
Register the given
eventto be published on behalf of an aggregate, with given additionalmetaData.
R
- recordException(Throwable) - Method in class org.axonframework.test.aggregate.ResultValidatorImpl
-
Record the given
exceptionas a result of this validator. - 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
- RecordingListenerInvocationErrorHandler - Class in org.axonframework.test.saga
-
A wrapper around a
ListenerInvocationErrorHandlerthat in itself also implementsListenerInvocationErrorHandler. - RecordingListenerInvocationErrorHandler(ListenerInvocationErrorHandler) - Constructor for class org.axonframework.test.saga.RecordingListenerInvocationErrorHandler
-
Create a new instance of this class, wrapping another
ListenerInvocationErrorHandler. - 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
aggregateFactorywith the fixture. - registerAnnotatedCommandHandler(Object) - Method in class org.axonframework.test.aggregate.AggregateTestFixture
- registerAnnotatedCommandHandler(Object) - Method in interface org.axonframework.test.aggregate.FixtureConfiguration
-
Registers an
annotatedCommandHandlerwith 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
MessageDispatchInterceptorforCommandMessages which will be invoked before any command is dispatched on theCommandBusto perform a task specified in the interceptor. - registerCommandGateway(Class<I>) - Method in class org.axonframework.test.saga.SagaTestFixture
- registerCommandGateway(Class<I>, I) - Method in class org.axonframework.test.saga.SagaTestFixture
- registerCommandGateway(Class<T>) - Method in interface org.axonframework.test.saga.FixtureConfiguration
-
Creates a Command Gateway for the given
gatewayInterfaceand registers that as a resource. - registerCommandGateway(Class<T>, T) - Method in interface org.axonframework.test.saga.FixtureConfiguration
-
Creates a Command Gateway for the given
gatewayInterfaceand registers that as a resource. - registerCommandHandler(Class<?>, MessageHandler<CommandMessage<?>>) - Method in class org.axonframework.test.aggregate.AggregateTestFixture
- registerCommandHandler(Class<?>, MessageHandler<CommandMessage<?>>) - Method in interface org.axonframework.test.aggregate.FixtureConfiguration
-
Registers a
commandHandlerto handle commands of the givencommandTypewith the command bus used by this fixture. - registerCommandHandler(String, MessageHandler<CommandMessage<?>>) - Method in class org.axonframework.test.aggregate.AggregateTestFixture
- registerCommandHandler(String, MessageHandler<CommandMessage<?>>) - Method in interface org.axonframework.test.aggregate.FixtureConfiguration
-
Registers a
commandHandlerto handle commands of the givencommandTypewith 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
MessageHandlerInterceptorforCommandMessages which will be invoked before or after the command has been dispatched on theCommandBusto 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
CommandTargetResolverwithin 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
DeadlineManagerto perform a task specified in the interceptor. - registerDeadlineDispatchInterceptor(MessageDispatchInterceptor<? super 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
DeadlineManagerto perform a task specified in the interceptor. - registerDeadlineDispatchInterceptor(MessageDispatchInterceptor<? super 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<? super 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<? super DeadlineMessage<?>>) - Method in class org.axonframework.test.saga.SagaTestFixture
- registerDispatchInterceptor(MessageDispatchInterceptor<? super CommandMessage<?>>) - Method in class org.axonframework.test.utils.RecordingCommandBus
- registerDispatchInterceptor(MessageDispatchInterceptor<? super DeadlineMessage<?>>) - Method in class org.axonframework.test.deadline.StubDeadlineManager
- registerEventHandlerInterceptor(MessageHandlerInterceptor<? super EventMessage<?>>) - Method in interface org.axonframework.test.saga.FixtureConfiguration
-
Registers a
MessageHandlerInterceptorforEventMessages. - registerEventHandlerInterceptor(MessageHandlerInterceptor<? super EventMessage<?>>) - Method in class org.axonframework.test.saga.SagaTestFixture
- 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
HandlerDefinitionwithin this fixture. - registerHandlerDefinition(HandlerDefinition) - Method in interface org.axonframework.test.saga.FixtureConfiguration
-
Registers a
HandlerDefinitionwithin 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
HandlerEnhancerDefinitionwithin this fixture. - registerHandlerEnhancerDefinition(HandlerEnhancerDefinition) - Method in interface org.axonframework.test.saga.FixtureConfiguration
-
Registers a
HandlerEnhancerDefinitionwithin this fixture. - registerHandlerEnhancerDefinition(HandlerEnhancerDefinition) - Method in class org.axonframework.test.saga.SagaTestFixture
- registerHandlerInterceptor(MessageHandlerInterceptor<? super CommandMessage<?>>) - Method in class org.axonframework.test.utils.RecordingCommandBus
- registerHandlerInterceptor(MessageHandlerInterceptor<? super DeadlineMessage<?>>) - Method in class org.axonframework.test.deadline.StubDeadlineManager
- 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 givendeclaringClassis 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 givendeclaringClassis 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. methods annotated with
@CommandHandler,@EventSourcingHandlerandEventHandler. - registerInjectableResources(Object...) - Method in interface org.axonframework.test.aggregate.FixtureConfiguration
-
Default implementation to register multiple resources in handler method (e.g. methods annotated with
@CommandHandler,@EventSourcingHandlerandEventHandler. - registerListenerInvocationErrorHandler(ListenerInvocationErrorHandler) - Method in interface org.axonframework.test.saga.FixtureConfiguration
-
Registers a
ListenerInvocationErrorHandlerto 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
ParameterResolverFactorywithin this fixture. - registerParameterResolverFactory(ParameterResolverFactory) - Method in interface org.axonframework.test.saga.FixtureConfiguration
-
Registers a
ParameterResolverFactorywithin 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
repositorywith 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
ResourceInjectorwithin 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<?>, Object, Object) - Method in class org.axonframework.test.aggregate.Reporter
-
Report an error due to a difference between the message payloads.
- 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
matcheras 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<?>, Description, Description, Throwable) - Method in class org.axonframework.test.aggregate.Reporter
-
Report an error of events not matching expectations defined by
Matchers. - reportWrongEvent(Collection<?>, StringDescription, Throwable) - Method in class org.axonframework.test.aggregate.Reporter
-
Deprecated.This method has been previously used to report non-matching
Matcherresults. Has been replaced byReporter.reportWrongEvent(Collection, Description, Description, Throwable). The method is kept for api backwards compatibility only and my be removed in a future release. - reportWrongException(Throwable, Description) - Method in class org.axonframework.test.aggregate.Reporter
-
Report an error due to an exception of an unexpected type.
- reportWrongExceptionDetails(Object, Description) - Method in class org.axonframework.test.aggregate.Reporter
-
Report an error due to a difference in exception details.
- 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
storedEventsandpublishedEvents.
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(Duration, Object) - Method in class org.axonframework.test.eventscheduler.StubEventScheduler
- 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(Instant, String, Object, ScopeDescriptor) - Method in class org.axonframework.test.deadline.StubDeadlineManager
- 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
matcherseach 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
matchersmatch 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
matchersmatch 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.
- setListenerInvocationErrorHandler(ListenerInvocationErrorHandler) - Method in class org.axonframework.test.saga.RecordingListenerInvocationErrorHandler
-
Sets a new wrapped
ListenerInvocationErrorHandler. - 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.
- startRecording() - Method in class org.axonframework.test.saga.RecordingListenerInvocationErrorHandler
-
Start recording by clearing any current
Exception. - 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
StubAggregateLifecyclethat can be used as anRegisterExtensionannotated 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
StubAggregateLifecycleExtensionto 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
currentDateTimeas 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
currentDateTimeas 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
- suppressExceptionInGivenPhase(boolean) - Method in interface org.axonframework.test.saga.FixtureConfiguration
-
Configure whether the fixture should suppress exceptions thrown during the given-phase.
- suppressExceptionInGivenPhase(boolean) - Method in class org.axonframework.test.saga.SagaTestFixture
T
- TestExecutor<T> - Interface in org.axonframework.test.aggregate
-
Interface describing the operations available on a test fixture in the execution stage.
- toString() - Method in class org.axonframework.test.server.AxonServerContainer
- toString() - Method in class org.axonframework.test.server.AxonServerEEContainer
-
Deprecated.
- toString() - Method in class org.axonframework.test.server.AxonServerSEContainer
-
Deprecated.
- type() - Method in class org.axonframework.test.aggregate.StubAggregateLifecycle
U
- useStateStorage() - Method in class org.axonframework.test.aggregate.AggregateTestFixture
- useStateStorage() - Method in interface org.axonframework.test.aggregate.FixtureConfiguration
-
Configures the fixture for state stored aggregates.
V
- version() - Method in class org.axonframework.test.aggregate.StubAggregateLifecycle
W
- when(Object) - 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 class org.axonframework.test.aggregate.AggregateTestFixture
- 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.
- whenConstructing(Callable<T>) - Method in class org.axonframework.test.aggregate.AggregateTestFixture
- whenConstructing(Callable<T>) - Method in interface org.axonframework.test.aggregate.TestExecutor
-
Invokes the given
aggregateFactoryexpecting an aggregate instance of typeTto be returned. - whenInvoking(String, Consumer<T>) - Method in class org.axonframework.test.aggregate.AggregateTestFixture
- whenInvoking(String, Consumer<T>) - Method in interface org.axonframework.test.aggregate.TestExecutor
-
Invokes the given
aggregateConsumerafter loading an aggregate of typeTbased on the givenaggregateIdentifier. - whenPublishingA(Object) - 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 class org.axonframework.test.saga.SagaTestFixture
- 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
-
Deprecated.
- whenThenTimeAdvancesTo(Instant) - Method in interface org.axonframework.test.aggregate.TestExecutor
-
Deprecated.since 4.6. Use
TestExecutor.whenTimeAdvancesTo(Instant)method - whenThenTimeElapses(Duration) - Method in class org.axonframework.test.aggregate.AggregateTestFixture
-
Deprecated.
- whenThenTimeElapses(Duration) - Method in interface org.axonframework.test.aggregate.TestExecutor
-
Deprecated.since 4.6. Use
TestExecutor.whenTimeAdvancesTo(Instant)method - whenTimeAdvancesTo(Instant) - Method in class org.axonframework.test.aggregate.AggregateTestFixture
- whenTimeAdvancesTo(Instant) - Method in interface org.axonframework.test.aggregate.TestExecutor
-
Simulates the time advancing in the current given state using an
Instantas 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.aggregate.AggregateTestFixture
- whenTimeElapses(Duration) - Method in interface org.axonframework.test.aggregate.TestExecutor
-
Simulates the time elapsing in the current given state using a
Durationas the unit of time. - 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.
- withAxonServerHostname(String) - Method in class org.axonframework.test.server.AxonServerContainer
-
Initialize this Axon Server test container with the given
axonServerHostname. - withAxonServerHostname(String) - Method in class org.axonframework.test.server.AxonServerEEContainer
-
Deprecated.Initialize AxonServer EE with a given Axon Server Hostname.
- withAxonServerInternalHostname(String) - Method in class org.axonframework.test.server.AxonServerContainer
-
Initialize this Axon Server test container with the given
axonServerInternalHostname. - withAxonServerInternalHostname(String) - Method in class org.axonframework.test.server.AxonServerEEContainer
-
Deprecated.Initialize AxonServer EE with a given Axon Server Internal Hostname.
- withAxonServerName(String) - Method in class org.axonframework.test.server.AxonServerContainer
-
Initialize this Axon Server test container with the given
axonServerName. - withAxonServerName(String) - Method in class org.axonframework.test.server.AxonServerEEContainer
-
Deprecated.Initialize AxonServer EE with a given Axon Server Name.
- withClusterTemplate(String) - Method in class org.axonframework.test.server.AxonServerContainer
-
Initialize this Axon Server test container with a cluster template configuration file retrieved from the given
clusterTemplatePath. - withClusterTemplate(String) - Method in class org.axonframework.test.server.AxonServerEEContainer
-
Deprecated.Initialize AxonServer EE with a given cluster template configuration file.
- withConfiguration(String) - Method in class org.axonframework.test.server.AxonServerContainer
-
Initialize this Axon Server test container with a configuration file retrieved from the given
configurationPath. - withConfiguration(String) - Method in class org.axonframework.test.server.AxonServerEEContainer
-
Deprecated.Initialize AxonServer EE with a given configuration file.
- withDevMode(boolean) - Method in class org.axonframework.test.server.AxonServerContainer
-
Initialize this Axon Server test container with the given
devMode. - withDevMode(boolean) - Method in class org.axonframework.test.server.AxonServerSEContainer
-
Deprecated.Initialize AxonServer SE on dev mode.
- withLicense(String) - Method in class org.axonframework.test.server.AxonServerContainer
-
Initialize this Axon Server test container with a license file retrieved from the given
licensePath. - withLicense(String) - Method in class org.axonframework.test.server.AxonServerEEContainer
-
Deprecated.Initialize AxonServer EE with a given license.
- withOptionalEnv(String, String) - Method in class org.axonframework.test.server.AxonServerContainer
-
Set an environment value if the value is present.
- withOptionalEnv(String, String) - Method in class org.axonframework.test.server.AxonServerEEContainer
-
Deprecated.Set an environment value if the value is present.
- 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
All Classes and Interfaces|All Packages|Serialized Form
TestExecutor.whenTimeAdvancesTo(Instant). This function incorrectly suggests you can proceed with other operations after calling it, which is made impossible due to theResultValidatorreturn type