Uses of Interface
org.axonframework.test.aggregate.FixtureConfiguration
Packages that use FixtureConfiguration
-
Uses of FixtureConfiguration in org.axonframework.test.aggregate
Classes in org.axonframework.test.aggregate that implement FixtureConfigurationModifier and TypeClassDescriptionclassA test fixture that allows the execution of given-when-then style test cases.Methods in org.axonframework.test.aggregate that return FixtureConfigurationModifier and TypeMethodDescriptionAggregateTestFixture.registerAggregateFactory(org.axonframework.eventsourcing.AggregateFactory<T> aggregateFactory) FixtureConfiguration.registerAggregateFactory(org.axonframework.eventsourcing.AggregateFactory<T> aggregateFactory) Registers the givenaggregateFactorywith the fixture.AggregateTestFixture.registerAnnotatedCommandHandler(Object annotatedCommandHandler) FixtureConfiguration.registerAnnotatedCommandHandler(Object annotatedCommandHandler) Registers anannotatedCommandHandlerwith this fixture.AggregateTestFixture.registerCommandDispatchInterceptor(org.axonframework.messaging.MessageDispatchInterceptor<? super org.axonframework.commandhandling.CommandMessage<?>> commandDispatchInterceptor) FixtureConfiguration.registerCommandDispatchInterceptor(org.axonframework.messaging.MessageDispatchInterceptor<? super org.axonframework.commandhandling.CommandMessage<?>> commandDispatchInterceptor) Register aMessageDispatchInterceptorforCommandMessages which will be invoked before any command is dispatched on theCommandBusto perform a task specified in the interceptor.AggregateTestFixture.registerCommandHandler(Class<?> payloadType, org.axonframework.messaging.MessageHandler<org.axonframework.commandhandling.CommandMessage<?>> commandHandler) AggregateTestFixture.registerCommandHandler(String commandName, org.axonframework.messaging.MessageHandler<org.axonframework.commandhandling.CommandMessage<?>> commandHandler) FixtureConfiguration.registerCommandHandler(Class<?> payloadType, org.axonframework.messaging.MessageHandler<org.axonframework.commandhandling.CommandMessage<?>> commandHandler) Registers acommandHandlerto handle commands of the givencommandTypewith the command bus used by this fixture.FixtureConfiguration.registerCommandHandler(String commandName, org.axonframework.messaging.MessageHandler<org.axonframework.commandhandling.CommandMessage<?>> commandHandler) Registers acommandHandlerto handle commands of the givencommandTypewith the command bus used by this fixture.AggregateTestFixture.registerCommandHandlerInterceptor(org.axonframework.messaging.MessageHandlerInterceptor<? super org.axonframework.commandhandling.CommandMessage<?>> commandHandlerInterceptor) FixtureConfiguration.registerCommandHandlerInterceptor(org.axonframework.messaging.MessageHandlerInterceptor<? super org.axonframework.commandhandling.CommandMessage<?>> commandHandlerInterceptor) Register aMessageHandlerInterceptorforCommandMessages which will be invoked before or after the command has been dispatched on theCommandBusto perform a task specified in the interceptor.AggregateTestFixture.registerCommandTargetResolver(org.axonframework.modelling.command.CommandTargetResolver commandTargetResolver) FixtureConfiguration.registerCommandTargetResolver(org.axonframework.modelling.command.CommandTargetResolver commandTargetResolver) Registers theCommandTargetResolverwithin this fixture.AggregateTestFixture.registerDeadlineDispatchInterceptor(org.axonframework.messaging.MessageDispatchInterceptor<? super org.axonframework.deadline.DeadlineMessage<?>> deadlineDispatchInterceptor) FixtureConfiguration.registerDeadlineDispatchInterceptor(org.axonframework.messaging.MessageDispatchInterceptor<? super org.axonframework.deadline.DeadlineMessage<?>> deadlineDispatchInterceptor) Registers a deadline dispatch interceptor which will always be invoked before a deadline is dispatched (scheduled) on theDeadlineManagerto perform a task specified in the interceptor.AggregateTestFixture.registerDeadlineHandlerInterceptor(org.axonframework.messaging.MessageHandlerInterceptor<? super org.axonframework.deadline.DeadlineMessage<?>> deadlineHandlerInterceptor) FixtureConfiguration.registerDeadlineHandlerInterceptor(org.axonframework.messaging.MessageHandlerInterceptor<? super org.axonframework.deadline.DeadlineMessage<?>> deadlineHandlerInterceptor) Registers a deadline handler interceptor which will always be invoked before a deadline is handled to perform a task specified in the interceptor.AggregateTestFixture.registerFieldFilter(FieldFilter fieldFilter) FixtureConfiguration.registerFieldFilter(FieldFilter fieldFilter) Registers the givenfieldFilter, which is used to define which Fields are used when comparing objects.AggregateTestFixture.registerHandlerDefinition(org.axonframework.messaging.annotation.HandlerDefinition handlerDefinition) FixtureConfiguration.registerHandlerDefinition(org.axonframework.messaging.annotation.HandlerDefinition handlerDefinition) Registers aHandlerDefinitionwithin this fixture.AggregateTestFixture.registerHandlerEnhancerDefinition(org.axonframework.messaging.annotation.HandlerEnhancerDefinition handlerEnhancerDefinition) FixtureConfiguration.registerHandlerEnhancerDefinition(org.axonframework.messaging.annotation.HandlerEnhancerDefinition handlerEnhancerDefinition) Registers aHandlerEnhancerDefinitionwithin this fixture.AggregateTestFixture.registerIgnoredField(Class<?> declaringClass, String fieldName) FixtureConfiguration.registerIgnoredField(Class<?> declaringClass, String fieldName) Indicates that a field with givenfieldName, which is declared in givendeclaringClassis ignored when performing deep equality checks.AggregateTestFixture.registerInjectableResource(Object resource) FixtureConfiguration.registerInjectableResource(Object resource) Registers a resource that is eligible for injection in handler method (e.g. methods annotated with@CommandHandler,@EventSourcingHandlerandEventHandler.default FixtureConfiguration<T>FixtureConfiguration.registerInjectableResources(Object... resources) Default implementation to register multiple resources in handler method (e.g. methods annotated with@CommandHandler,@EventSourcingHandlerandEventHandler.AggregateTestFixture.registerParameterResolverFactory(org.axonframework.messaging.annotation.ParameterResolverFactory parameterResolverFactory) FixtureConfiguration.registerParameterResolverFactory(org.axonframework.messaging.annotation.ParameterResolverFactory parameterResolverFactory) Registers aParameterResolverFactorywithin this fixture.AggregateTestFixture.registerRepository(org.axonframework.modelling.command.Repository<T> repository) FixtureConfiguration.registerRepository(org.axonframework.modelling.command.Repository<T> repository) Registers an arbitraryrepositorywith the fixture.AggregateTestFixture.registerRepositoryProvider(org.axonframework.modelling.command.RepositoryProvider repositoryProvider) FixtureConfiguration.registerRepositoryProvider(org.axonframework.modelling.command.RepositoryProvider repositoryProvider) Registers repository provider with the fixture.AggregateTestFixture.useStateStorage()FixtureConfiguration.useStateStorage()Configures the fixture for state stored aggregates.final FixtureConfiguration<T>AggregateTestFixture.withSubtypes(Class<? extends T>... subtypes) FixtureConfiguration.withSubtypes(Class<? extends T>... subtypes) Registers subtypes of this aggregate to support aggregate polymorphism.