| Package | Description | 
|---|---|
| org.axonframework.test.aggregate | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
AggregateTestFixture<T>
A test fixture that allows the execution of given-when-then style test cases. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
FixtureConfiguration<T> | 
FixtureConfiguration.registerAggregateFactory(AggregateFactory<T> aggregateFactory)
Registers the given  
aggregateFactory with the fixture. | 
FixtureConfiguration<T> | 
AggregateTestFixture.registerAggregateFactory(AggregateFactory<T> aggregateFactory)  | 
FixtureConfiguration<T> | 
FixtureConfiguration.registerAnnotatedCommandHandler(Object annotatedCommandHandler)
Registers an  
annotatedCommandHandler with this fixture. | 
FixtureConfiguration<T> | 
AggregateTestFixture.registerAnnotatedCommandHandler(Object annotatedCommandHandler)  | 
FixtureConfiguration<T> | 
FixtureConfiguration.registerCommandDispatchInterceptor(MessageDispatchInterceptor<CommandMessage<?>> commandDispatchInterceptor)
Register a command dispatch interceptor which will always be invoked before a command is dispatched on the
 command bus to perform a task specified in the interceptor. 
 | 
FixtureConfiguration<T> | 
AggregateTestFixture.registerCommandDispatchInterceptor(MessageDispatchInterceptor<CommandMessage<?>> commandDispatchInterceptor)  | 
FixtureConfiguration<T> | 
FixtureConfiguration.registerCommandHandler(Class<?> payloadType,
                      MessageHandler<CommandMessage<?>> commandHandler)
Registers a  
commandHandler to handle commands of the given commandType with the
 command bus used by this fixture. | 
FixtureConfiguration<T> | 
AggregateTestFixture.registerCommandHandler(Class<?> payloadType,
                      MessageHandler<CommandMessage<?>> commandHandler)  | 
FixtureConfiguration<T> | 
FixtureConfiguration.registerCommandHandler(String commandName,
                      MessageHandler<CommandMessage<?>> commandHandler)
Registers a  
commandHandler to handle commands of the given commandType with the
 command bus used by this fixture. | 
FixtureConfiguration<T> | 
AggregateTestFixture.registerCommandHandler(String commandName,
                      MessageHandler<CommandMessage<?>> commandHandler)  | 
FixtureConfiguration<T> | 
FixtureConfiguration.registerCommandHandlerInterceptor(MessageHandlerInterceptor<CommandMessage<?>> commandHanderInterceptor)
Register a command handler interceptor which may be invoked before or after the command has been dispatched on
 the command bus to perform a task specified in the interceptor. 
 | 
FixtureConfiguration<T> | 
AggregateTestFixture.registerCommandHandlerInterceptor(MessageHandlerInterceptor<CommandMessage<?>> commandHanderInterceptor)  | 
FixtureConfiguration<T> | 
FixtureConfiguration.registerFieldFilter(FieldFilter fieldFilter)
Registers the given  
fieldFilter, which is used to define which Fields are used when comparing
 objects. | 
FixtureConfiguration<T> | 
AggregateTestFixture.registerFieldFilter(FieldFilter fieldFilter)  | 
FixtureConfiguration<T> | 
FixtureConfiguration.registerIgnoredField(Class<?> declaringClass,
                    String fieldName)
Indicates that a field with given  
fieldName, which is declared in given declaringClass
 is ignored when performing deep equality checks. | 
FixtureConfiguration<T> | 
AggregateTestFixture.registerIgnoredField(Class<?> declaringClass,
                    String fieldName)  | 
FixtureConfiguration<T> | 
FixtureConfiguration.registerInjectableResource(Object resource)
Registers a resource that is eligible for injection in handler method (e.g. 
 | 
FixtureConfiguration<T> | 
AggregateTestFixture.registerInjectableResource(Object resource)  | 
FixtureConfiguration<T> | 
FixtureConfiguration.registerRepository(EventSourcingRepository<T> repository)
Registers an arbitrary event sourcing  
repository with the fixture. | 
FixtureConfiguration<T> | 
AggregateTestFixture.registerRepository(EventSourcingRepository<T> eventSourcingRepository)  | 
Copyright © 2010–2018. All rights reserved.