public class StateMachineEventResultAssert extends org.assertj.core.api.AbstractAssert<StateMachineEventResultAssert,StateMachineEventResult<?,?>>
StateMachineEventResult
.Constructor and Description |
---|
StateMachineEventResultAssert(StateMachineEventResult<?,?> actual)
Instantiates a new state machine event result assert.
|
Modifier and Type | Method and Description |
---|---|
StateMachineEventResultAssert |
hasResultType(StateMachineEventResult.ResultType resultType)
Verifies that the actual event result has the same
StateMachineEventResult.ResultType as
given StateMachineEventResult.ResultType . |
asInstanceOf, asList, assertionError, asString, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, 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, satisfiesAnyOf, satisfiesAnyOf, satisfiesAnyOf, setCustomRepresentation, setDescriptionConsumer, setPrintAssertionsDescription, throwAssertionError, usingComparator, usingComparator, usingDefaultComparator, usingRecursiveComparison, usingRecursiveComparison, withFailMessage, withFailMessage, withRepresentation, withThreadDumpOnError
public StateMachineEventResultAssert(StateMachineEventResult<?,?> actual)
actual
- the actual state machine event resultpublic StateMachineEventResultAssert hasResultType(StateMachineEventResult.ResultType resultType)
StateMachineEventResult.ResultType
as
given StateMachineEventResult.ResultType
.resultType
- the expected result typethis
assertion object.java.lang.AssertionError
- if the result type of the actual event result is not equal to the given one.