A C D E F G H I L M N O P R S T U W 

A

advanceTime(DateTime) - Method in class org.axonframework.test.eventscheduler.StubEventScheduler
Advance time to the given newDateTime and returns all events scheduled for publication until that time.
advanceTime(Duration) - Method in class org.axonframework.test.eventscheduler.StubEventScheduler
Advance time by the given duration and returns all events scheduled for publication until that time.
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.
andNoMore() - Static method in class org.axonframework.test.matchers.Matchers
Matches against null or void.
andThenAggregate(Object) - Method in class org.axonframework.test.saga.AnnotatedSagaTestFixture
 
andThenAggregate(Object) - Method in interface org.axonframework.test.saga.ContinuedGivenState
Use this method to indicate that an aggregate with given identifier published certain events.
andThenAPublished(Object) - Method in class org.axonframework.test.saga.AnnotatedSagaTestFixture
 
andThenAPublished(Object) - Method in interface org.axonframework.test.saga.ContinuedGivenState
Indicates that the given event has been published in the past.
andThenTimeAdvancesTo(DateTime) - Method in class org.axonframework.test.saga.AnnotatedSagaTestFixture
 
andThenTimeAdvancesTo(DateTime) - 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.AnnotatedSagaTestFixture
 
andThenTimeElapses(Duration) - Method in interface org.axonframework.test.saga.ContinuedGivenState
Simulate time shifts in the current given state.
AnnotatedSagaTestFixture - Class in org.axonframework.test.saga
Fixture for testing Annotated Sagas based on events and time passing.
AnnotatedSagaTestFixture(Class<? extends AbstractAnnotatedSaga>) - Constructor for class org.axonframework.test.saga.AnnotatedSagaTestFixture
Creates an instance of the AnnotatedSagaTestFixture to test sagas of the given sagaType.
assertActiveSagas(int) - Method in class org.axonframework.test.saga.RepositoryContentValidator
Asserts that the repsitory contains the given expected amount of active sagas.
assertAssociationPresent(String, String) - Method in class org.axonframework.test.saga.RepositoryContentValidator
Asserts that an association is present for the given associationKey and associationValue.
assertDispatchedEqualTo(Object...) - Method in class org.axonframework.test.saga.CommandValidator
Assert that the given commands have been dispatched in the exact sequence provided.
assertDispatchedMatching(Matcher<?>) - Method in class org.axonframework.test.saga.CommandValidator
Assert that commands matching the given matcher has been dispatched on the command bus.
assertNoAssociationPresent(String, String) - Method in class org.axonframework.test.saga.RepositoryContentValidator
Asserts that no association is present for the given associationKey and associationValue.
assertNoScheduledEvents() - Method in class org.axonframework.test.saga.EventSchedulerValidator
Asserts that no events are scheduled for publication.
assertPublishedEvents(Object...) - Method in class org.axonframework.test.saga.EventValidator
Assert that the given expected events have been published.
assertPublishedEventsMatching(Matcher<List<?>>) - Method in class org.axonframework.test.saga.EventValidator
Asserts that events have been published matching the given matcher.
assertScheduledEventMatching(Duration, Matcher<?>) - Method in class org.axonframework.test.saga.EventSchedulerValidator
Asserts that an event matching the given matcher is scheduled for publication after the given duration.
assertScheduledEventMatching(DateTime, Matcher<?>) - Method in class org.axonframework.test.saga.EventSchedulerValidator
Asserts that an event matching the given matcher is scheduled for publication at the given scheduledTime.
assertValidRecording() - Method in class org.axonframework.test.ResultValidatorImpl
Makes sure the execution phase has finishes without any Errors ir FixtureExecutionExceptions.
AutowiredResourceInjector - Class in org.axonframework.test.utils
Resource injector that uses setter methods to inject resources.
AutowiredResourceInjector(Iterable<?>) - Constructor for class org.axonframework.test.utils.AutowiredResourceInjector
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.

C

CallbackBehavior - Interface in org.axonframework.test.utils
Interface towards a mechanism that replicates the behavior of a Command Handling component.
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.
CommandValidator - Class in org.axonframework.test.saga
Helper class for validation of dispatched commands.
CommandValidator(RecordingCommandBus) - Constructor for class org.axonframework.test.saga.CommandValidator
Creates a validator which monitors the given commandBus.
compareTo(StubScheduleToken) - Method in class org.axonframework.test.eventscheduler.StubScheduleToken
 
ContinuedGivenState - Interface in org.axonframework.test.saga
Interface describing methods that can be executed after the first "given" state has been supplied.
createInstance(Annotation[], Class<?>, Annotation[]) - Method in class org.axonframework.test.FixtureResourceParameterResolverFactory
 
currentTime() - Method in class org.axonframework.test.saga.AnnotatedSagaTestFixture
 
currentTime() - Method in interface org.axonframework.test.saga.FixtureConfiguration
Returns the time as "known" by the fixture.

D

DefaultCallbackBehavior - Class in org.axonframework.test.utils
Default implementation of the CallbackBehavior interface.
DefaultCallbackBehavior() - Constructor for class org.axonframework.test.utils.DefaultCallbackBehavior
 
describeCollectionType(Description) - Method in class org.axonframework.test.matchers.ExactSequenceMatcher
 
describeCollectionType(Description) - Method in class org.axonframework.test.matchers.ListMatcher
Describes the type of collection expected.
describeCollectionType(Description) - Method in class org.axonframework.test.matchers.ListWithAllOfMatcher
 
describeCollectionType(Description) - Method in class org.axonframework.test.matchers.ListWithAnyOfMatcher
 
describeCollectionType(Description) - Method in class org.axonframework.test.matchers.SequenceMatcher
 
describeTo(Description) - Method in class org.axonframework.test.matchers.EmptyCollectionMatcher
 
describeTo(Description) - Method in class org.axonframework.test.matchers.EqualFieldsMatcher
 
describeTo(Description) - Method in class org.axonframework.test.matchers.ListMatcher
 
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
 
DescriptionUtils - Class in org.axonframework.test.saga
Utility class for creating a description.
disable() - Method in class org.axonframework.test.FixtureResourceParameterResolverFactory
Disables this factory.
dispatch(CommandMessage<?>) - Method in class org.axonframework.test.utils.RecordingCommandBus
 
dispatch(CommandMessage<?>, CommandCallback<R>) - Method in class org.axonframework.test.utils.RecordingCommandBus
 

E

EmptyCollectionMatcher - 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.
EqualFieldsMatcher<T> - Class in org.axonframework.test.matchers
Matcher that will match an Object if all the fields on that Object contain values equal to the same field in the expected instance.
EqualFieldsMatcher(T) - Constructor for class org.axonframework.test.matchers.EqualFieldsMatcher
Initializes an EqualFieldsMatcher that will match an object with equal properties as the given expected object.
equals(Object) - Method in class org.axonframework.test.eventscheduler.StubScheduleToken
 
equalTo(T) - Static method in class org.axonframework.test.matchers.Matchers
Matches against each event of the same runtime type that has all field values equal to the fields in the expected event.
EventSchedulerValidator - Class in org.axonframework.test.saga
Helper class for validating evets scheduled in a given event scheduler.
EventSchedulerValidator(StubEventScheduler) - Constructor for class org.axonframework.test.saga.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) - Constructor for class org.axonframework.test.saga.EventValidator
Initializes the event validator to monitor the given eventBus.
ExactSequenceMatcher - Class in org.axonframework.test.matchers
A matcher that will match if all the given matchers against the event in a list at their respective index.
ExactSequenceMatcher(Matcher<?>...) - Constructor for class org.axonframework.test.matchers.ExactSequenceMatcher
Construct a matcher that will return true if all the given matchers match against the event with the same index in a given List if Events.
exactSequenceOf(Matcher<?>...) - Static method in class org.axonframework.test.matchers.Matchers
Matches a List of Events if each of the given matchers matches against the event at the respective index in the list.
expectActiveSagas(int) - Method in interface org.axonframework.test.saga.FixtureExecutionResult
Expect the given number of Sagas to be active (i.e.
expectActiveSagas(int) - Method in class org.axonframework.test.saga.FixtureExecutionResultImpl
 
expectAssociationWith(String, Object) - Method in interface org.axonframework.test.saga.FixtureExecutionResult
Asserts that at least one of the active sagas is associated with the given associationKey and associationValue.
expectAssociationWith(String, Object) - Method in class org.axonframework.test.saga.FixtureExecutionResultImpl
 
expectDispatchedCommandsEqualTo(Object...) - Method in interface org.axonframework.test.saga.FixtureExecutionResult
Asserts that the given commands have been dispatched in exactly the order given.
expectDispatchedCommandsEqualTo(Object...) - Method in class org.axonframework.test.saga.FixtureExecutionResultImpl
 
expectDispatchedCommandsMatching(Matcher<List<?>>) - Method in interface org.axonframework.test.saga.FixtureExecutionResult
Asserts that the sagas dispatched commands as defined by the given matcher.
expectDispatchedCommandsMatching(Matcher<List<?>>) - Method in class org.axonframework.test.saga.FixtureExecutionResultImpl
 
expectEvents(Object...) - Method in interface org.axonframework.test.ResultValidator
Expect the given set of events to have been stored and published.
expectEvents(Object...) - Method in class org.axonframework.test.ResultValidatorImpl
 
expectEventsMatching(Matcher<List<?>>) - Method in interface org.axonframework.test.ResultValidator
Expect the published events to match the given matcher.
expectEventsMatching(Matcher<List<?>>) - Method in class org.axonframework.test.ResultValidatorImpl
 
expectException(Class<? extends Throwable>) - Method in interface org.axonframework.test.ResultValidator
Expect the given expectedException to occur during command handler execution.
expectException(Matcher<?>) - Method in interface org.axonframework.test.ResultValidator
Expect an exception to occur during command handler execution that matches with the given matcher.
expectException(Class<? extends Throwable>) - Method in class org.axonframework.test.ResultValidatorImpl
 
expectException(Matcher<?>) - Method in class org.axonframework.test.ResultValidatorImpl
 
expectNoAssociationWith(String, Object) - Method in interface org.axonframework.test.saga.FixtureExecutionResult
Asserts that at none of the active sagas is associated with the given associationKey and associationValue.
expectNoAssociationWith(String, Object) - Method in class org.axonframework.test.saga.FixtureExecutionResultImpl
 
expectNoDispatchedCommands() - Method in interface org.axonframework.test.saga.FixtureExecutionResult
Asserts that the sagas did not dispatch any commands.
expectNoDispatchedCommands() - Method in class org.axonframework.test.saga.FixtureExecutionResultImpl
 
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
 
expectPublishedEvents(Object...) - Method in interface org.axonframework.test.ResultValidator
Expect the given set of events to have been published on the events bus.
expectPublishedEvents(Object...) - Method in class org.axonframework.test.ResultValidatorImpl
 
expectPublishedEvents(Object...) - Method in interface org.axonframework.test.saga.FixtureExecutionResult
Assert that the saga published events on the EventBus in the exact sequence of the given expected events.
expectPublishedEvents(Object...) - Method in class org.axonframework.test.saga.FixtureExecutionResultImpl
 
expectPublishedEventsMatching(Matcher<List<?>>) - Method in interface org.axonframework.test.ResultValidator
Expect the list of published event to match the given matcher.
expectPublishedEventsMatching(Matcher<List<?>>) - Method in class org.axonframework.test.ResultValidatorImpl
 
expectPublishedEventsMatching(Matcher<List<?>>) - 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<List<?>>) - Method in class org.axonframework.test.saga.FixtureExecutionResultImpl
 
expectReturnValue(Object) - Method in interface org.axonframework.test.ResultValidator
Expect the command handler to return the given expectedReturnValue after execution.
expectReturnValue(Matcher<?>) - Method in interface org.axonframework.test.ResultValidator
Expect the command handler to return a value that matches the given matcher after execution.
expectReturnValue(Object) - Method in class org.axonframework.test.ResultValidatorImpl
 
expectReturnValue(Matcher<?>) - Method in class org.axonframework.test.ResultValidatorImpl
 
expectScheduledEvent(Duration, Object) - Method in interface org.axonframework.test.saga.FixtureExecutionResult
Asserts that an event equal to the given ApplicationEvent has been scheduled for publication after the given duration.
expectScheduledEvent(DateTime, Object) - Method in interface org.axonframework.test.saga.FixtureExecutionResult
Asserts that an event equal to the given ApplicationEvent has been scheduled for publication at the given scheduledTime.
expectScheduledEvent(Duration, Object) - Method in class org.axonframework.test.saga.FixtureExecutionResultImpl
 
expectScheduledEvent(DateTime, Object) - Method in class org.axonframework.test.saga.FixtureExecutionResultImpl
 
expectScheduledEventMatching(Duration, Matcher<?>) - Method in interface org.axonframework.test.saga.FixtureExecutionResult
Asserts that an event matching the given matcher has been scheduled to be published after the given duration.
expectScheduledEventMatching(DateTime, Matcher<?>) - Method in interface org.axonframework.test.saga.FixtureExecutionResult
Asserts that an event matching the given matcher has been scheduled to be published at the given scheduledTime.
expectScheduledEventMatching(Duration, Matcher<?>) - Method in class org.axonframework.test.saga.FixtureExecutionResultImpl
 
expectScheduledEventMatching(DateTime, Matcher<?>) - Method in class org.axonframework.test.saga.FixtureExecutionResultImpl
 
expectScheduledEventOfType(Duration, Class<?>) - Method in interface org.axonframework.test.saga.FixtureExecutionResult
Asserts that an event of the given eventType has been scheduled for publication after the given duration.
expectScheduledEventOfType(DateTime, Class<?>) - Method in interface org.axonframework.test.saga.FixtureExecutionResult
Asserts that an event of the given eventType has been scheduled for publication at the given scheduledTime.
expectScheduledEventOfType(Duration, Class<?>) - Method in class org.axonframework.test.saga.FixtureExecutionResultImpl
 
expectScheduledEventOfType(DateTime, Class<?>) - Method in class org.axonframework.test.saga.FixtureExecutionResultImpl
 
expectStoredEvents(Object...) - Method in interface org.axonframework.test.ResultValidator
Expect the given set of events to have been stored in the event store.
expectStoredEvents(Object...) - Method in class org.axonframework.test.ResultValidatorImpl
 
expectStoredEventsMatching(Matcher<List<?>>) - Method in interface org.axonframework.test.ResultValidator
Expect the list of stored event to match the given matcher.
expectStoredEventsMatching(Matcher<List<?>>) - Method in class org.axonframework.test.ResultValidatorImpl
 
expectVoidReturnType() - Method in interface org.axonframework.test.ResultValidator
Explicitly expect a void return type on the given command handler.
expectVoidReturnType() - Method in class org.axonframework.test.ResultValidatorImpl
 

F

failedMatcherMessage() - Method in class org.axonframework.test.matchers.ListMatcher
The message to append behind a failing matcher.
failedMatcherMessage() - Method in class org.axonframework.test.matchers.ListWithAnyOfMatcher
 
FixtureConfiguration<T extends org.axonframework.eventsourcing.EventSourcedAggregateRoot> - Interface in org.axonframework.test
Interface describing the operations available on a test fixture in the configuration stage.
FixtureConfiguration - Interface in org.axonframework.test.saga
Interface describing action to perform on a Saga Test Fixture during the configuration phase.
FixtureExecutionException - Exception in org.axonframework.test
Exception indicating that an error occurred that prevented successful execution of a test fixture.
FixtureExecutionException(String) - Constructor for exception org.axonframework.test.FixtureExecutionException
Construct the exception with the given message.
FixtureExecutionException(String, Throwable) - Constructor for exception org.axonframework.test.FixtureExecutionException
Construct the exception with the given message and cause.
FixtureExecutionResult - Interface in org.axonframework.test.saga
Interface towards an object that contains the results of a Fixture execution.
FixtureExecutionResultImpl - Class in org.axonframework.test.saga
Default implementation of FixtureExecutionResult.
FixtureResourceParameterResolverFactory - Class in org.axonframework.test
ParameterResolverFactory implementation that is aware of test-specific use cases.
Fixtures - Class in org.axonframework.test
Utility class providing access to fixture instances in the Axon Test module.

G

getCommandBus() - Method in interface org.axonframework.test.FixtureConfiguration
Returns the command bus used by this fixture.
getCommandBus() - Method in class org.axonframework.test.GivenWhenThenTestFixture
 
getCurrentDateTime() - Method in class org.axonframework.test.eventscheduler.StubEventScheduler
Returns the "Current Date Time" as used by the scheduler.
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 interface org.axonframework.test.FixtureConfiguration
Returns the event bus used by this fixture.
getEventBus() - Method in class org.axonframework.test.GivenWhenThenTestFixture
 
getEventStore() - Method in interface org.axonframework.test.FixtureConfiguration
Returns the event store used by this fixture.
getEventStore() - Method in class org.axonframework.test.GivenWhenThenTestFixture
 
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.
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.
getRepository() - Method in interface org.axonframework.test.FixtureConfiguration
Returns the repository used by this fixture.
getRepository() - Method in class org.axonframework.test.GivenWhenThenTestFixture
 
getScheduledItems() - Method in class org.axonframework.test.eventscheduler.StubEventScheduler
Returns a view of all the scheduled Events at the time this method is called.
getScheduleTime() - Method in interface org.axonframework.test.eventscheduler.ScheduledItem
The time the event was scheduled for publication.
getScheduleTime() - Method in class org.axonframework.test.eventscheduler.StubScheduleToken
 
getSubscriptions() - Method in class org.axonframework.test.utils.RecordingCommandBus
Returns a Map will all Command Names and their Command Handler that have been subscribed to this command bus.
given(Object...) - Method in interface org.axonframework.test.FixtureConfiguration
Configures the given domainEvents as the "given" events.
given(List<?>) - Method in interface org.axonframework.test.FixtureConfiguration
Configures the given domainEvents as the "given" events.
given(Object...) - Method in class org.axonframework.test.GivenWhenThenTestFixture
 
given(List<?>) - Method in class org.axonframework.test.GivenWhenThenTestFixture
 
givenAggregate(Object) - Method in class org.axonframework.test.saga.AnnotatedSagaTestFixture
 
givenAggregate(Object) - Method in interface org.axonframework.test.saga.FixtureConfiguration
Use this method to indicate that an aggregate with given identifier published certain events.
GivenAggregateEventPublisher - Interface in org.axonframework.test.saga
Interface to an object that publishes events on behalf of an aggregate.
givenAPublished(Object) - Method in class org.axonframework.test.saga.AnnotatedSagaTestFixture
 
givenAPublished(Object) - Method in interface org.axonframework.test.saga.FixtureConfiguration
Indicates that the given applicationEvent has been published in the past.
givenCommands(Object...) - Method in interface org.axonframework.test.FixtureConfiguration
Configures the given commands as the command that will provide the "given" events.
givenCommands(List<?>) - Method in interface org.axonframework.test.FixtureConfiguration
Configures the given commands as the command that will provide the "given" events.
givenCommands(Object...) - Method in class org.axonframework.test.GivenWhenThenTestFixture
 
givenCommands(List<?>) - Method in class org.axonframework.test.GivenWhenThenTestFixture
 
GivenWhenThenTestFixture<T extends org.axonframework.eventsourcing.EventSourcedAggregateRoot> - Class in org.axonframework.test
A test fixture that allows the execution of given-when-then style test cases.
GivenWhenThenTestFixture(Class<T>) - Constructor for class org.axonframework.test.GivenWhenThenTestFixture
Initializes a new given-when-then style test fixture for the given aggregateType.

H

handle(EventMessage) - Method in class org.axonframework.test.saga.EventValidator
 
handle(Object, MetaData) - Method in interface org.axonframework.test.utils.CallbackBehavior
Invoked when the Command Bus receives a Command that is dispatched with a Callback method.
handle(Object, MetaData) - Method in class org.axonframework.test.utils.DefaultCallbackBehavior
 
hashCode() - Method in class org.axonframework.test.eventscheduler.StubScheduleToken
 

I

injectResources(Saga) - Method in class org.axonframework.test.utils.AutowiredResourceInjector
 
isSubscribed(CommandHandler<?>) - Method in class org.axonframework.test.utils.RecordingCommandBus
Indicates whether the given commandHandler is subscribed to this command bus.
isSubscribed(String, CommandHandler<? super C>) - Method in class org.axonframework.test.utils.RecordingCommandBus
Indicates whether the given commandHandler is subscribed to commands of the given commandType on this command bus.

L

ListMatcher - Class in org.axonframework.test.matchers
Abstract implementation for matchers that use event-specific matchers to match against a list of items.
ListMatcher(Matcher<?>...) - 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<?>...) - 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 - Class in org.axonframework.test.matchers
A matcher that will match if all the given matchers match against at least one item in a given List.
ListWithAllOfMatcher(Matcher...) - Constructor for class org.axonframework.test.matchers.ListWithAllOfMatcher
Construct a matcher that will return true if all the given matchers match against at least one item in any given List.
listWithAnyOf(Matcher<?>...) - Static method in class org.axonframework.test.matchers.Matchers
Matches a List of Events where at least one of the given matchers matches any of the Events in that list.
ListWithAnyOfMatcher - Class in org.axonframework.test.matchers
A matcher that will match if all the given matchers match against at least one item in a given List.
ListWithAnyOfMatcher(Matcher...) - Constructor for class org.axonframework.test.matchers.ListWithAnyOfMatcher
Construct a matcher that will return true if any of the given matchers matches against at least one item in a given List.

M

MatcherExecutionException - Exception in org.axonframework.test.matchers
Exception indicating that an error occurred that prevented successful execution of a matcher.
MatcherExecutionException(String) - Constructor for exception org.axonframework.test.matchers.MatcherExecutionException
Construct the exception with the given message.
MatcherExecutionException(String, Throwable) - Constructor for exception org.axonframework.test.matchers.MatcherExecutionException
Construct the exception with the given message and cause.
Matchers - Class in org.axonframework.test.matchers
Utility class containing static methods to obtain instances of (List) Matchers.
matches(Object) - Method in class org.axonframework.test.matchers.EmptyCollectionMatcher
 
matches(Object) - Method in class org.axonframework.test.matchers.EqualFieldsMatcher
 
matches(Object) - Method in class org.axonframework.test.matchers.ListMatcher
 
matches(Object) - Method in class org.axonframework.test.matchers.NullOrVoidMatcher
 
matches(Object) - Method in class org.axonframework.test.matchers.PayloadMatcher
 
matches(Object) - Method in class org.axonframework.test.matchers.PayloadsMatcher
 
matchesList(List<?>) - Method in class org.axonframework.test.matchers.ExactSequenceMatcher
 
matchesList(List<?>) - Method in class org.axonframework.test.matchers.ListMatcher
Evaluates the matcher for argument item.
matchesList(List<?>) - Method in class org.axonframework.test.matchers.ListWithAllOfMatcher
 
matchesList(List<?>) - Method in class org.axonframework.test.matchers.ListWithAnyOfMatcher
 
matchesList(List<?>) - Method in class org.axonframework.test.matchers.SequenceMatcher
 
matchRemainder(Iterator<Matcher<?>>) - Method in class org.axonframework.test.matchers.ListMatcher
Matches all the remaining Matchers in the given matcherIterator against null.
messageWithPayload(Matcher<?>) - Static method in class org.axonframework.test.matchers.Matchers
Matches a single Message if the given payloadMatcher matches that message's payload.

N

newGivenWhenThenFixture(Class<T>) - Static method in class org.axonframework.test.Fixtures
Returns a new given-when-then style test fixture in configuration mode.
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.
nothing() - Static method in class org.axonframework.test.matchers.Matchers
Matches against null or void.
NullOrVoidMatcher<T> - Class in org.axonframework.test.matchers
Matcher that matches against a null or void value.
NullOrVoidMatcher() - Constructor for class org.axonframework.test.matchers.NullOrVoidMatcher
 

O

onFailure(Throwable) - Method in class org.axonframework.test.ResultValidatorImpl
 
onSuccess(Object) - Method in class org.axonframework.test.ResultValidatorImpl
 
org.axonframework.test - package org.axonframework.test
Classes in support of testing Axon based applications.
org.axonframework.test.eventscheduler - package org.axonframework.test.eventscheduler
 
org.axonframework.test.matchers - package org.axonframework.test.matchers
 
org.axonframework.test.saga - package org.axonframework.test.saga
 
org.axonframework.test.utils - package org.axonframework.test.utils
A collection of classes which may prove useful when testing Axon-based classes.

P

PayloadMatcher<T extends org.axonframework.domain.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<List<?>>) - Constructor for class org.axonframework.test.matchers.PayloadsMatcher
Constructs an instance that uses the given matcher to match the payloads.
payloadsMatching(Matcher<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.
published(Object...) - Method in interface org.axonframework.test.saga.GivenAggregateEventPublisher
Register the given events as being published somewhere in the past.
publishes(Object) - Method in interface org.axonframework.test.saga.WhenAggregateEventPublisher
Register the given event to be published on behalf of an aggregate.

R

RecordingCommandBus - Class in org.axonframework.test.utils
CommandBus implementation that does not perform any actions on subscriptions or dispatched commands, but records them instead.
RecordingCommandBus() - Constructor for class org.axonframework.test.utils.RecordingCommandBus
 
register(List<Object>) - Static method in class org.axonframework.test.FixtureResourceParameterResolverFactory
Registers a ParameterResolverFactory capable of injecting the given injectableResources in annotated handlers.
registerAggregateFactory(AggregateFactory<T>) - Method in interface org.axonframework.test.FixtureConfiguration
Registers the given aggregateFactory with the fixture.
registerAggregateFactory(AggregateFactory<T>) - Method in class org.axonframework.test.GivenWhenThenTestFixture
 
registerAnnotatedCommandHandler(Object) - Method in interface org.axonframework.test.FixtureConfiguration
Registers an annotatedCommandHandler with this fixture.
registerAnnotatedCommandHandler(Object) - Method in class org.axonframework.test.GivenWhenThenTestFixture
 
registerCommandGateway(Class<T>) - Method in class org.axonframework.test.saga.AnnotatedSagaTestFixture
 
registerCommandGateway(Class<T>, T) - Method in class org.axonframework.test.saga.AnnotatedSagaTestFixture
 
registerCommandGateway(Class<T>) - Method in interface org.axonframework.test.saga.FixtureConfiguration
Creates a Command Gateway for the given gatewayInterface and registers that as a resource.
registerCommandGateway(Class<T>, T) - Method in interface org.axonframework.test.saga.FixtureConfiguration
Creates a Command Gateway for the given gatewayInterface and registers that as a resource.
registerCommandHandler(Class<?>, CommandHandler) - Method in interface org.axonframework.test.FixtureConfiguration
Registers a commandHandler to handle commands of the given commandType with the command bus used by this fixture.
registerCommandHandler(String, CommandHandler) - Method in interface org.axonframework.test.FixtureConfiguration
Registers a commandHandler to handle commands of the given commandType with the command bus used by this fixture.
registerCommandHandler(Class<?>, CommandHandler) - Method in class org.axonframework.test.GivenWhenThenTestFixture
 
registerCommandHandler(String, CommandHandler) - Method in class org.axonframework.test.GivenWhenThenTestFixture
 
registerInjectableResource(Object) - Method in interface org.axonframework.test.FixtureConfiguration
Registers a resource that is eligible for injection in @CommandHandler and @EventHandler annotated methods.
registerInjectableResource(Object) - Method in class org.axonframework.test.GivenWhenThenTestFixture
 
registerRepository(EventSourcingRepository<T>) - Method in interface org.axonframework.test.FixtureConfiguration
Registers an arbitrary event sourcing repository with the fixture.
registerRepository(EventSourcingRepository<T>) - Method in class org.axonframework.test.GivenWhenThenTestFixture
 
registerResource(Object) - Method in class org.axonframework.test.saga.AnnotatedSagaTestFixture
 
registerResource(Object) - Method in interface org.axonframework.test.saga.FixtureConfiguration
Registers the given resource.
reportDifferenceInStoredVsPublished(Collection<DomainEventMessage>, Collection<EventMessage>, Throwable) - Method in class org.axonframework.test.Reporter
Report a failed assertion due to a difference in the stored versus the published events.
reportDifferentEventContents(Class<?>, Field, Object, Object) - Method in class org.axonframework.test.Reporter
Report an error due to a difference in on of the fields of an event.
Reporter - Class in org.axonframework.test
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.Reporter
 
reportFailed(Matcher) - Method in class org.axonframework.test.matchers.ListMatcher
Report the given matcher as a failing matcher.
reportUnexpectedException(Throwable, Description) - Method in class org.axonframework.test.Reporter
Reports an error due to an unexpected exception.
reportUnexpectedReturnValue(Object, Description) - Method in class org.axonframework.test.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.Reporter
Report an error in the ordering or count of events.
reportWrongEvent(Collection<?>, StringDescription, Throwable) - Method in class org.axonframework.test.Reporter
Report an error in the ordering or count of events.
reportWrongException(Throwable, Description) - Method in class org.axonframework.test.Reporter
Report an error due to a an exception of an unexpected type.
reportWrongResult(Object, Description) - Method in class org.axonframework.test.Reporter
Reports an error due to a wrong return value.
RepositoryContentValidator - Class in org.axonframework.test.saga
Helper class for the validation of Saga Repository content.
ResultValidator - Interface in org.axonframework.test
Interface describing the operations available on the "validate result" (a.k.a.
ResultValidatorImpl - Class in org.axonframework.test
Implementation of the ResultValidator.
ResultValidatorImpl(Collection<DomainEventMessage>, Collection<EventMessage>) - Constructor for class org.axonframework.test.ResultValidatorImpl
Initialize the ResultValidatorImpl with the given storedEvents and publishedEvents.

S

schedule(DateTime, Object) - Method in class org.axonframework.test.eventscheduler.StubEventScheduler
 
schedule(Duration, Object) - Method in class org.axonframework.test.eventscheduler.StubEventScheduler
 
ScheduledItem - Interface in org.axonframework.test.eventscheduler
Interface describing an event to be scheduled at a given date and time.
SequenceMatcher - Class in org.axonframework.test.matchers
A matcher that will match if all the given matchers each match against an item that the previous matcher matched against.
SequenceMatcher(Matcher<?>...) - Constructor for class org.axonframework.test.matchers.SequenceMatcher
Construct a matcher that will return true if all the given matchers match against an item positioned after the item that the previous matcher matched against.
sequenceOf(Matcher<?>...) - Static method in class org.axonframework.test.matchers.Matchers
Matches a list of Events if each of the matchers match against an Event that comes after the Event that the previous matcher matched against.
setCallbackBehavior(CallbackBehavior) - Method in class org.axonframework.test.saga.AnnotatedSagaTestFixture
 
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.utils.RecordingCommandBus
Sets the instance that defines the behavior of the Command Bus when a command is dispatched with a callback.
setReportIllegalStateChange(boolean) - Method in interface org.axonframework.test.FixtureConfiguration
Sets whether or not the fixture should detect and report state changes that occur outside of Event Handler methods.
setReportIllegalStateChange(boolean) - Method in class org.axonframework.test.GivenWhenThenTestFixture
 
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.
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(ReadableInstant) - Constructor for class org.axonframework.test.eventscheduler.StubEventScheduler
Creates an instance of the StubScheduler that uses the given currentDateTime as its conceptual "current time".
StubScheduleToken - Class in org.axonframework.test.eventscheduler
ScheduleToken returned by the StubEventScheduler.
subscribe(String, CommandHandler<? super C>) - Method in class org.axonframework.test.utils.RecordingCommandBus
 
supportsPayloadResolution() - Method in class org.axonframework.test.FixtureResourceParameterResolverFactory
 

T

TestExecutor - Interface in org.axonframework.test
Interface describing the operations available on a test fixture in the execution stage.

U

unsubscribe(String, CommandHandler<? super C>) - Method in class org.axonframework.test.utils.RecordingCommandBus
 

W

when(Object) - Method in class org.axonframework.test.GivenWhenThenTestFixture
 
when(Object, Map<String, ?>) - Method in class org.axonframework.test.GivenWhenThenTestFixture
 
when(Object) - Method in interface org.axonframework.test.TestExecutor
Dispatches the given command to the appropriate command handler and records all activity in the fixture for result validation.
when(Object, Map<String, ?>) - Method in interface org.axonframework.test.TestExecutor
Dispatches the given command and meta data to the appropriate command handler and records all activity in the fixture for result validation.
whenAggregate(Object) - Method in class org.axonframework.test.saga.AnnotatedSagaTestFixture
 
whenAggregate(Object) - Method in interface org.axonframework.test.saga.ContinuedGivenState
Use this method to indicate that an aggregate with given identifier should publish certain events, while recording the outcome.
WhenAggregateEventPublisher - Interface in org.axonframework.test.saga
Interface to an object that publishes events on behalf of an aggregate.
whenPublishingA(Object) - Method in class org.axonframework.test.saga.AnnotatedSagaTestFixture
 
whenPublishingA(Object) - Method in interface org.axonframework.test.saga.ContinuedGivenState
Use this method to indicate an application is published, while recording the outcome.
whenTimeAdvancesTo(DateTime) - Method in class org.axonframework.test.saga.AnnotatedSagaTestFixture
 
whenTimeAdvancesTo(DateTime) - Method in interface org.axonframework.test.saga.ContinuedGivenState
Mimic an elapsed time with no relevant activity for the Saga.
whenTimeElapses(Duration) - Method in class org.axonframework.test.saga.AnnotatedSagaTestFixture
 
whenTimeElapses(Duration) - Method in interface org.axonframework.test.saga.ContinuedGivenState
Mimic an elapsed time with no relevant activity for the Saga.
A C D E F G H I L M N O P R S T U W 

Copyright © 2010-2013. All Rights Reserved.