Class StateMachineEventResultAssert
java.lang.Object
org.assertj.core.api.AbstractAssert<StateMachineEventResultAssert,StateMachineEventResult<?,?>>
org.springframework.statemachine.test.assertj.StateMachineEventResultAssert
- All Implemented Interfaces:
org.assertj.core.api.Assert<StateMachineEventResultAssert,
,StateMachineEventResult<?, ?>> org.assertj.core.api.Descriptable<StateMachineEventResultAssert>
,org.assertj.core.api.ExtensionPoints<StateMachineEventResultAssert,
StateMachineEventResult<?, ?>>
public class StateMachineEventResultAssert
extends org.assertj.core.api.AbstractAssert<StateMachineEventResultAssert,StateMachineEventResult<?,?>>
Assertions applicable to a
StateMachineEventResult
.- Author:
- Janne Valkealahti
-
Field Summary
Fields inherited from class org.assertj.core.api.AbstractAssert
actual, info, myself, objects, throwUnsupportedExceptionOnEquals
-
Constructor Summary
ConstructorDescriptionStateMachineEventResultAssert
(StateMachineEventResult<?, ?> actual) Instantiates a new state machine event result assert. -
Method Summary
Modifier and TypeMethodDescriptionhasResultType
(StateMachineEventResult.ResultType resultType) Verifies that the actual event result has the sameStateMachineEventResult.ResultType
as givenStateMachineEventResult.ResultType
.Methods inherited from class org.assertj.core.api.AbstractAssert
areEqual, 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, usingRecursiveAssertion, usingRecursiveAssertion, usingRecursiveComparison, usingRecursiveComparison, withFailMessage, withFailMessage, withRepresentation, withThreadDumpOnError
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.assertj.core.api.Descriptable
as, as, as, describedAs
-
Constructor Details
-
StateMachineEventResultAssert
Instantiates a new state machine event result assert.- Parameters:
actual
- the actual state machine event result
-
-
Method Details
-
hasResultType
Verifies that the actual event result has the sameStateMachineEventResult.ResultType
as givenStateMachineEventResult.ResultType
.- Parameters:
resultType
- the expected result type- Returns:
this
assertion object.- Throws:
AssertionError
- if the result type of the actual event result is not equal to the given one.
-