| Package | Description |
|---|---|
| org.axonframework.test.aggregate | |
| org.axonframework.test.deadline | |
| org.axonframework.test.matchers | |
| org.axonframework.test.saga |
| Modifier and Type | Method and Description |
|---|---|
FixtureConfiguration<T> |
AggregateTestFixture.registerFieldFilter(FieldFilter fieldFilter) |
FixtureConfiguration<T> |
FixtureConfiguration.registerFieldFilter(FieldFilter fieldFilter)
Registers the given
fieldFilter, which is used to define which Fields are used when comparing objects. |
| Constructor and Description |
|---|
ResultValidatorImpl(List<org.axonframework.eventhandling.EventMessage<?>> publishedEvents,
FieldFilter fieldFilter,
Supplier<org.axonframework.modelling.command.Aggregate<T>> aggregateState,
StubDeadlineManager stubDeadlineManager)
Initialize the ResultValidatorImpl with the given
storedEvents and publishedEvents. |
| Constructor and Description |
|---|
DeadlineManagerValidator(StubDeadlineManager deadlineManager,
FieldFilter fieldFilter)
Instantiates this validator with
deadlineManager which is used for validation purposes and fieldFilter. |
| Modifier and Type | Class and Description |
|---|---|
class |
AllFieldsFilter
FieldFilter implementation that accepts all Fields.
|
class |
IgnoreField
FieldFilter implementation that rejects a given Field
|
class |
MatchAllFieldFilter
FieldFilter that delegates to an arbitrary number of other filters.
|
class |
NonStaticFieldsFilter
FieldFilter implementation that only accepts non-static Fields.
|
class |
NonTransientFieldsFilter
FieldFilter implementation that only accepts non-transient Fields.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> EqualFieldsMatcher<T> |
Matchers.equalTo(T expected,
FieldFilter filter)
Matches against each event of the same runtime type that has all field values equal to the fields in the
expected
event.
|
| Constructor and Description |
|---|
EqualFieldsMatcher(T expected,
FieldFilter filter)
Initializes an EqualFieldsMatcher that will match an object with equal properties as the given
expected object. |
| Constructor and Description |
|---|
MatchAllFieldFilter(Collection<FieldFilter> filters)
Initializes a filter that accepts any field that is accepted by all given
filters |
| Modifier and Type | Method and Description |
|---|---|
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. |
| Constructor and Description |
|---|
CommandValidator(RecordingCommandBus commandBus,
FieldFilter fieldFilter)
Creates a validator which monitors the given
commandBus. |
EventValidator(org.axonframework.eventhandling.EventBus eventBus,
FieldFilter fieldFilter)
Initializes the event validator to monitor the given
eventBus. |
Copyright © 2010–2022. All rights reserved.