public class StateMachineAssert extends org.assertj.core.api.AbstractAssert<StateMachineAssert,StateMachine<?,?>>
StateMachine.| Constructor and Description |
|---|
StateMachineAssert(StateMachine<?,?> actual)
Instantiates a new state machine assert.
|
| Modifier and Type | Method and Description |
|---|---|
StateMachineAssert |
doesNotHaveState()
Verifies that the actual machine does not have a state.
|
StateMachineAssert |
hasStateId(java.lang.Object id)
Verifies that the actual machine has the same
state id as given id. |
asInstanceOf, asList, assertionError, asString, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, doesNotHaveSameHashCodeAs, doesNotHaveToString, equals, extracting, extracting, failure, failureWithActualExpected, failWithActualExpectedAndMessage, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasSameHashCodeAs, hasToString, inBinary, inHexadecimal, is, isElementOfCustomAssert, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isInstanceOfSatisfying, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, matches, matches, newListAssertInstance, overridingErrorMessage, overridingErrorMessage, satisfies, satisfies, satisfies, satisfiesAnyOf, satisfiesAnyOf, satisfiesAnyOfForProxy, satisfiesForProxy, setCustomRepresentation, setDescriptionConsumer, setPrintAssertionsDescription, throwAssertionError, usingComparator, usingComparator, usingDefaultComparator, usingRecursiveComparison, usingRecursiveComparison, withFailMessage, withFailMessage, withRepresentation, withThreadDumpOnErrorpublic StateMachineAssert(StateMachine<?,?> actual)
actual - the actualpublic StateMachineAssert hasStateId(java.lang.Object id)
state id as given id.id - the expected state idthis assertion object.java.lang.AssertionError - if the target id of the actual context is not equal to the given one.public StateMachineAssert doesNotHaveState()
this assertion object.java.lang.AssertionError - if the machine has a state