Class StateMachineTestPlan<S,E>
java.lang.Object
org.springframework.statemachine.test.StateMachineTestPlan<S,E>
- Type Parameters:
S- the type of stateE- the type of event
StateMachineTestPlan is fully constructed plan how
a StateMachine should be tested.-
Constructor Summary
ConstructorsConstructorDescriptionStateMachineTestPlan(Map<Object, StateMachine<S, E>> stateMachines, List<org.springframework.statemachine.test.StateMachineTestPlanBuilder.StateMachineTestPlanStep<S, E>> steps, Integer defaultAwaitTime) Instantiates a new state machine test plan. -
Method Summary
-
Constructor Details
-
StateMachineTestPlan
public StateMachineTestPlan(Map<Object, StateMachine<S, E>> stateMachines, List<org.springframework.statemachine.test.StateMachineTestPlanBuilder.StateMachineTestPlanStep<S, E>> steps, Integer defaultAwaitTime) Instantiates a new state machine test plan.- Parameters:
stateMachines- the state machinessteps- the stepsdefaultAwaitTime- the default await time in seconds
-
-
Method Details
-
test
Run test plan.- Throws:
Exception- the exception
-