Package | Description |
---|---|
org.axonframework.test.saga |
Modifier and Type | Class and Description |
---|---|
class |
SagaTestFixture<T>
Fixture for testing Annotated Sagas based on events and time passing.
|
Modifier and Type | Method and Description |
---|---|
FixtureConfiguration |
SagaTestFixture.registerDeadlineDispatchInterceptor(MessageDispatchInterceptor<DeadlineMessage<?>> deadlineDispatchInterceptor) |
FixtureConfiguration |
FixtureConfiguration.registerDeadlineDispatchInterceptor(MessageDispatchInterceptor<DeadlineMessage<?>> deadlineDispatchInterceptor)
Registers a deadline dispatch interceptor which will always be invoked before a deadline is dispatched
(scheduled) on the
DeadlineManager to perform a task specified in the
interceptor. |
FixtureConfiguration |
SagaTestFixture.registerDeadlineHandlerInterceptor(MessageHandlerInterceptor<DeadlineMessage<?>> deadlineHandlerInterceptor) |
FixtureConfiguration |
FixtureConfiguration.registerDeadlineHandlerInterceptor(MessageHandlerInterceptor<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.
|
FixtureConfiguration |
SagaTestFixture.registerFieldFilter(FieldFilter fieldFilter) |
FixtureConfiguration |
FixtureConfiguration.registerFieldFilter(FieldFilter fieldFilter)
Registers the given
fieldFilter , which is used to define which Fields are used when comparing
objects. |
FixtureConfiguration |
SagaTestFixture.registerHandlerDefinition(HandlerDefinition handlerDefinition) |
FixtureConfiguration |
FixtureConfiguration.registerHandlerDefinition(HandlerDefinition handlerDefinition)
Registers handler definition within this fixture.
|
FixtureConfiguration |
SagaTestFixture.registerIgnoredField(Class<?> declaringClass,
String fieldName) |
FixtureConfiguration |
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 |
SagaTestFixture.withTransienceCheckDisabled() |
FixtureConfiguration |
FixtureConfiguration.withTransienceCheckDisabled()
Disables the check that injected resources are stored in fields that are marked 'transient'.
|
Copyright © 2010–2018. All rights reserved.