| Package | Description | 
|---|---|
| org.axonframework.test.aggregate | 
| 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 published. 
 | 
ResultValidator | 
ResultValidatorImpl.expectEventsMatching(org.hamcrest.Matcher<? extends List<? super EventMessage<?>>> matcher)  | 
ResultValidator | 
ResultValidator.expectEventsMatching(org.hamcrest.Matcher<? extends List<? super EventMessage<?>>> 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. | 
default ResultValidator | 
ResultValidator.expectNoEvents()
Expect no events to have been published from the command. 
 | 
ResultValidator | 
ResultValidatorImpl.expectReturnValue(Object expectedReturnValue)  | 
ResultValidator | 
ResultValidator.expectReturnValue(Object expectedReturnValue)
Expect the command handler to return the given  
expectedReturnValue after execution. | 
ResultValidator | 
ResultValidatorImpl.expectReturnValueMatching(org.hamcrest.Matcher<?> matcher)  | 
ResultValidator | 
ResultValidator.expectReturnValueMatching(org.hamcrest.Matcher<?> matcher)
Expect the command handler to return a value that matches the given  
matcher after execution. | 
ResultValidator | 
ResultValidatorImpl.expectSuccessfulHandlerExecution()  | 
ResultValidator | 
ResultValidator.expectSuccessfulHandlerExecution()
Expect a successful execution of the given command handler, regardless of the actual return value. 
 | 
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 | 
AggregateTestFixture.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 | 
AggregateTestFixture.when(Object command,
    Map<String,?> metaData)  | 
Copyright © 2010–2018. All rights reserved.