Class MessageAssert
java.lang.Object
org.assertj.core.api.AbstractAssert<MessageAssert,io.camunda.zeebe.client.api.response.PublishMessageResponse>
io.camunda.zeebe.process.test.assertions.MessageAssert
- All Implemented Interfaces:
org.assertj.core.api.Assert<MessageAssert,,io.camunda.zeebe.client.api.response.PublishMessageResponse> org.assertj.core.api.Descriptable<MessageAssert>,org.assertj.core.api.ExtensionPoints<MessageAssert,io.camunda.zeebe.client.api.response.PublishMessageResponse>
public class MessageAssert
extends org.assertj.core.api.AbstractAssert<MessageAssert,io.camunda.zeebe.client.api.response.PublishMessageResponse>
Assertions for
PublishMessageResponse instances-
Field Summary
Fields inherited from class org.assertj.core.api.AbstractAssert
actual, info, myself, objects, throwUnsupportedExceptionOnEquals -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedMessageAssert(io.camunda.zeebe.client.api.response.PublishMessageResponse actual, RecordStream recordStream) -
Method Summary
Modifier and TypeMethodDescriptionExtracts the process instance for the given messageVerifies the expectation that a message has been correlatedVerifies the expectation that a message start event has been correlatedVerifies the expectation that a message has expiredVerifies the expectation that a message has not been correlatedVerifies the expectation that a message start event has not been correlatedVerifies the expectation that a message has not expiredMethods inherited from class org.assertj.core.api.AbstractAssert
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, 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
-
Constructor Details
-
MessageAssert
protected MessageAssert(io.camunda.zeebe.client.api.response.PublishMessageResponse actual, RecordStream recordStream)
-
-
Method Details
-
hasCreatedProcessInstance
Verifies the expectation that a message start event has been correlated- Returns:
- this
MessageAssert
-
hasNotCreatedProcessInstance
Verifies the expectation that a message start event has not been correlated- Returns:
- this
MessageAssert˚
-
hasExpired
Verifies the expectation that a message has expired- Returns:
- this
MessageAssert
-
hasNotExpired
Verifies the expectation that a message has not expired- Returns:
- this
MessageAssert
-
extractingProcessInstance
Extracts the process instance for the given message- Returns:
- Process instance assertions
ProcessInstanceAssert