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 |
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.registerDeadlineDispatchInterceptor(MessageDispatchInterceptor<DeadlineMessage<?>> deadlineDispatchInterceptor) |
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.registerDeadlineHandlerInterceptor(MessageHandlerInterceptor<DeadlineMessage<?>> deadlineHandlerInterceptor) |
FixtureConfiguration |
FixtureConfiguration.registerFieldFilter(FieldFilter fieldFilter)
Registers the given
fieldFilter , which is used to define which Fields are used when comparing
objects. |
FixtureConfiguration |
SagaTestFixture.registerFieldFilter(FieldFilter fieldFilter) |
FixtureConfiguration |
FixtureConfiguration.registerHandlerDefinition(HandlerDefinition handlerDefinition)
Registers handler definition within this fixture.
|
FixtureConfiguration |
SagaTestFixture.registerHandlerDefinition(HandlerDefinition handlerDefinition) |
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.registerIgnoredField(Class<?> declaringClass,
String fieldName) |
FixtureConfiguration |
FixtureConfiguration.registerStartRecordingCallback(Runnable onStartRecordingCallback)
Registers a callback to be invoked when the fixture execution starts recording.
|
FixtureConfiguration |
SagaTestFixture.registerStartRecordingCallback(Runnable onStartRecordingCallback) |
FixtureConfiguration |
FixtureConfiguration.withTransienceCheckDisabled()
Disables the check that injected resources are stored in fields that are marked 'transient'.
|
FixtureConfiguration |
SagaTestFixture.withTransienceCheckDisabled() |
Copyright © 2010–2019. All rights reserved.