S
- the type of stateE
- the type of eventpublic class StateMachineTestPlan<S,E>
extends java.lang.Object
StateMachineTestPlan
is fully constructed plan how
a StateMachine
should be tested.Constructor and Description |
---|
StateMachineTestPlan(java.util.Map<java.lang.Object,StateMachine<S,E>> stateMachines,
java.util.List<org.springframework.statemachine.test.StateMachineTestPlanBuilder.StateMachineTestPlanStep<S,E>> steps,
java.lang.Integer defaultAwaitTime)
Instantiates a new state machine test plan.
|
Modifier and Type | Method and Description |
---|---|
void |
test()
Run test plan.
|
public StateMachineTestPlan(java.util.Map<java.lang.Object,StateMachine<S,E>> stateMachines, java.util.List<org.springframework.statemachine.test.StateMachineTestPlanBuilder.StateMachineTestPlanStep<S,E>> steps, java.lang.Integer defaultAwaitTime)
stateMachines
- the state machinessteps
- the stepsdefaultAwaitTime
- the default await time in seconds