Package | Description |
---|---|
org.axonframework.test |
Classes in support of testing Axon based applications.
|
Modifier and Type | Class and Description |
---|---|
class |
ResultValidatorImpl
Implementation of the ResultValidator.
|
Modifier and Type | Method and Description |
---|---|
ResultValidator |
ResultValidatorImpl.expectEvents(Object... expectedEvents) |
ResultValidator |
ResultValidator.expectEvents(Object... expectedEvents)
Expect the given set of events to have been stored and published.
|
ResultValidator |
ResultValidatorImpl.expectEventsMatching(org.hamcrest.Matcher<? extends Iterable<?>> matcher) |
ResultValidator |
ResultValidator.expectEventsMatching(org.hamcrest.Matcher<? extends Iterable<?>> matcher)
Expect the published events to match the given
matcher . |
ResultValidator |
ResultValidatorImpl.expectException(Class<? extends Throwable> expectedException) |
ResultValidator |
ResultValidator.expectException(Class<? extends Throwable> expectedException)
Expect the given
expectedException to occur during command handler execution. |
ResultValidator |
ResultValidatorImpl.expectException(org.hamcrest.Matcher<?> matcher) |
ResultValidator |
ResultValidator.expectException(org.hamcrest.Matcher<?> matcher)
Expect an exception to occur during command handler execution that matches with the given
matcher . |
ResultValidator |
ResultValidatorImpl.expectPublishedEvents(Object... expectedEvents) |
ResultValidator |
ResultValidator.expectPublishedEvents(Object... expectedEvents)
Expect the given set of events to have been published on the events bus.
|
ResultValidator |
ResultValidatorImpl.expectPublishedEventsMatching(org.hamcrest.Matcher<? extends Iterable<?>> matcher) |
ResultValidator |
ResultValidator.expectPublishedEventsMatching(org.hamcrest.Matcher<? extends Iterable<?>> matcher)
Expect the list of published event to match the given
matcher . |
ResultValidator |
ResultValidatorImpl.expectReturnValue(org.hamcrest.Matcher<?> matcher) |
ResultValidator |
ResultValidator.expectReturnValue(org.hamcrest.Matcher<?> matcher)
Expect the command handler to return a value that matches the given
matcher after execution. |
ResultValidator |
ResultValidatorImpl.expectReturnValue(Object expectedReturnValue) |
ResultValidator |
ResultValidator.expectReturnValue(Object expectedReturnValue)
Expect the command handler to return the given
expectedReturnValue after execution. |
ResultValidator |
ResultValidatorImpl.expectStoredEvents(Object... expectedEvents) |
ResultValidator |
ResultValidator.expectStoredEvents(Object... expectedEvents)
Expect the given set of events to have been stored in the event store.
|
ResultValidator |
ResultValidatorImpl.expectStoredEventsMatching(org.hamcrest.Matcher<? extends Iterable<?>> matcher) |
ResultValidator |
ResultValidator.expectStoredEventsMatching(org.hamcrest.Matcher<? extends Iterable<?>> matcher)
Expect the list of stored event to match the given
matcher . |
ResultValidator |
ResultValidatorImpl.expectVoidReturnType() |
ResultValidator |
ResultValidator.expectVoidReturnType()
Explicitly expect a
void return type on the given command handler. |
ResultValidator |
TestExecutor.when(Object command)
Dispatches the given command to the appropriate command handler and records all activity in the fixture for
result validation.
|
ResultValidator |
GivenWhenThenTestFixture.when(Object command) |
ResultValidator |
TestExecutor.when(Object command,
Map<String,?> metaData)
Dispatches the given command and meta data to the appropriate command handler and records all
activity in the fixture for result validation.
|
ResultValidator |
GivenWhenThenTestFixture.when(Object command,
Map<String,?> metaData) |
Copyright © 2010-2014. All Rights Reserved.