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.-
Field Summary
Fields inherited from class org.assertj.core.api.AbstractAssert
actual, info, myself, objects, throwUnsupportedExceptionOnEquals -
Constructor Summary
ConstructorsConstructorDescriptionStateMachineEventResultAssert(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.ResultTypeas givenStateMachineEventResult.ResultType.Methods inherited from class org.assertj.core.api.AbstractAssert
actual, areEqual, asInstanceOf, asList, assertionError, asString, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, doesNotHaveSameHashCodeAs, doesNotHaveToString, doesNotHaveToString, doesNotMatch, doesNotMatch, equals, extracting, extracting, failure, failureWithActualExpected, failWithActualExpectedAndMessage, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasSameHashCodeAs, hasToString, 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, usingEquals, usingEquals, usingRecursiveAssertion, usingRecursiveAssertion, usingRecursiveComparison, usingRecursiveComparison, withFailMessage, withFailMessage, withRepresentation, withThreadDumpOnErrorMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.assertj.core.api.Descriptable
as, as, as, describedAs, 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.ResultTypeas givenStateMachineEventResult.ResultType.- Parameters:
resultType- the expected result type- Returns:
thisassertion object.- Throws:
AssertionError- if the result type of the actual event result is not equal to the given one.
-