public class StateMachineAsserts
extends java.lang.Object
assertj
definitions for a StateMachine
.
NOTE: we build assertj features here in core tests before moving them into spring-statemachine-test.
Constructor and Description |
---|
StateMachineAsserts() |
Modifier and Type | Method and Description |
---|---|
static StateContextAssert |
assertThat(StateContext<?,?> stateContext)
Creates a new instance of
StateContextAssert allowing to perform assertions on it. |
static StateMachineAssert |
assertThat(StateMachine<?,?> stateMachine)
Creates a new instance of
StateMachineAssert allowing to perform assertions on it. |
static StateMachineEventResultAssert |
assertThat(StateMachineEventResult<?,?> stateMachineEventResult)
Creates a new instance of
StateMachineEventResultAssert allowing to perform assertions on it. |
public static StateContextAssert assertThat(StateContext<?,?> stateContext)
StateContextAssert
allowing to perform assertions on it.stateContext
- the state contextpublic static StateMachineAssert assertThat(StateMachine<?,?> stateMachine)
StateMachineAssert
allowing to perform assertions on it.stateMachine
- the state machinepublic static StateMachineEventResultAssert assertThat(StateMachineEventResult<?,?> stateMachineEventResult)
StateMachineEventResultAssert
allowing to perform assertions on it.stateMachineEventResult
- the state machine event result