Class DurableStateBehaviorTestKit.CommandResult<Command,State>
java.lang.Object
org.apache.pekko.persistence.testkit.javadsl.DurableStateBehaviorTestKit.CommandResult<Command,State>
- Direct Known Subclasses:
DurableStateBehaviorTestKit.CommandResultWithReply
- Enclosing class:
- DurableStateBehaviorTestKit<Command,
State>
The result of running a command.
-
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
-
Constructor Details
-
CommandResult
-
-
Method Details
-
command
The command that was run. -
state
The state after the command has been processed. -
stateOfType
The state as a given expected type. It will throwAssertionErrorif the state is of a different type.
-