org.axonframework.test
Interface TestExecutor
public interface TestExecutor
Interface describing the operations available on a test fixture in the execution stage. In this stage, there is only
on operation: when(Object), which dispatches a command on this fixture's Command Bus.
- Since:
- 0.6
- Author:
- Allard Buijze
|
Method Summary |
ResultValidator |
when(Object command)
Dispatches the given command to the appropriate command handler and records all activity in the fixture for
result validation. |
when
ResultValidator when(Object command)
- Dispatches the given command to the appropriate command handler and records all activity in the fixture for
result validation.
- Parameters:
command - The command to execute
- Returns:
- a ResultValidator that can be used to validate the resulting actions of the command execution
Copyright © 2010. All Rights Reserved.