|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||
| Uses of ResultValidator in org.axonframework.test |
|---|
| Methods in org.axonframework.test that return ResultValidator | |
|---|---|
ResultValidator |
ResultValidator.expectEvents(DomainEvent... expectedEvents)
Expect the given set of events to have been stored and published. |
ResultValidator |
ResultValidator.expectException(Class<? extends Throwable> expectedException)
Expect the given expectedException to occur during command handler execution. |
ResultValidator |
ResultValidator.expectPublishedEvents(Event... expectedEvents)
Expect the given set of events to have been published on the events bus. |
ResultValidator |
ResultValidator.expectReturnValue(Object expectedReturnValue)
Expect the command handler to return the given expectedReturnValue after execution. |
ResultValidator |
ResultValidator.expectStoredEvents(DomainEvent... expectedEvents)
Expect the given set of events to have been stored in the event store. |
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. |
|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||