A C E F G N O R T W

A

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

createGenericRepository(Class<T>) - Method in interface org.axonframework.test.FixtureConfiguration
Creates and registers a generic repository for the given aggregateClass.

E

expectEvents(DomainEvent...) - Method in interface org.axonframework.test.ResultValidator
Expect the given set of events to have been stored and published.
expectException(Class<? extends Throwable>) - Method in interface org.axonframework.test.ResultValidator
Expect the given expectedException to occur during command handler execution.
expectPublishedEvents(Event...) - Method in interface org.axonframework.test.ResultValidator
Expect the given set of events to have been published on the events bus.
expectReturnValue(Object) - Method in interface org.axonframework.test.ResultValidator
Expect the command handler to return the given expectedReturnValue after execution.
expectStoredEvents(DomainEvent...) - Method in interface org.axonframework.test.ResultValidator
Expect the given set of events to have been stored in the event store.
expectVoidReturnType() - Method in interface org.axonframework.test.ResultValidator
Explicitly expect a void return type on the given command handler.

F

FixtureConfiguration - Interface in org.axonframework.test
Interface describing the operations available on a test fixture in the configuration stage.
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.
Fixtures - Class in org.axonframework.test
Utility class providing access to fixture instances in the Axon Test module.

G

getAggregateIdentifier() - Method in interface org.axonframework.test.FixtureConfiguration
Returns the identifier of the aggregate that this fixture prepares.
getCommandBus() - Method in interface org.axonframework.test.FixtureConfiguration
Returns the command bus used by this fixture.
getEventBus() - Method in interface org.axonframework.test.FixtureConfiguration
Returns the event bus used by this fixture.
getEventStore() - Method in interface org.axonframework.test.FixtureConfiguration
Returns the event store used by this fixture.
getRepository() - Method in interface org.axonframework.test.FixtureConfiguration
Returns the repository used by this fixture.
given(DomainEvent...) - Method in interface org.axonframework.test.FixtureConfiguration
Configures the given domainEvents as the "given" events.
given(List<DomainEvent>) - Method in interface org.axonframework.test.FixtureConfiguration
Configures the given domainEvents as the "given" events.

N

newGivenWhenThenFixture() - Static method in class org.axonframework.test.Fixtures
Returns a new given-when-then style test fixture in configuration mode.

O

org.axonframework.test - package org.axonframework.test
Classes in support of testing Axon based applications.

R

registerAnnotatedCommandHandler(Object) - Method in interface org.axonframework.test.FixtureConfiguration
Registers an annotatedCommandHandler with this fixture.
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.
registerRepository(EventSourcingRepository<?>) - Method in interface org.axonframework.test.FixtureConfiguration
Registers an arbitrary event sourcing repository with the fixture.
ResultValidator - Interface in org.axonframework.test
Interface describing the operations available on the "validate result" (a.k.a.

T

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

W

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.

A C E F G N O R T W

Copyright © 2010. All Rights Reserved.