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

    Constructors
    Modifier
    Constructor
    Description
    protected
    MessageAssert(io.camunda.zeebe.client.api.response.PublishMessageResponse actual, RecordStream recordStream)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Extracts the process instance for the given message
    Verifies the expectation that a message has been correlated
    Verifies the expectation that a message start event has been correlated
    Verifies the expectation that a message has expired
    Verifies the expectation that a message has not been correlated
    Verifies the expectation that a message start event has not been correlated
    Verifies the expectation that a message has not expired

    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, 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

    • MessageAssert

      protected MessageAssert(io.camunda.zeebe.client.api.response.PublishMessageResponse actual, RecordStream recordStream)
  • Method Details

    • hasBeenCorrelated

      public MessageAssert hasBeenCorrelated()
      Verifies the expectation that a message has been correlated
      Returns:
      this MessageAssert
    • hasNotBeenCorrelated

      public MessageAssert hasNotBeenCorrelated()
      Verifies the expectation that a message has not been correlated
      Returns:
      this MessageAssert˚
    • hasCreatedProcessInstance

      public MessageAssert hasCreatedProcessInstance()
      Verifies the expectation that a message start event has been correlated
      Returns:
      this MessageAssert
    • hasNotCreatedProcessInstance

      public MessageAssert hasNotCreatedProcessInstance()
      Verifies the expectation that a message start event has not been correlated
      Returns:
      this MessageAssert˚
    • hasExpired

      public MessageAssert hasExpired()
      Verifies the expectation that a message has expired
      Returns:
      this MessageAssert
    • hasNotExpired

      public MessageAssert hasNotExpired()
      Verifies the expectation that a message has not expired
      Returns:
      this MessageAssert
    • extractingProcessInstance

      public ProcessInstanceAssert extractingProcessInstance()
      Extracts the process instance for the given message
      Returns:
      Process instance assertions ProcessInstanceAssert