Class DeploymentAssert

java.lang.Object
org.assertj.core.api.AbstractAssert<DeploymentAssert,io.camunda.client.api.response.DeploymentEvent>
io.camunda.zeebe.process.test.assertions.DeploymentAssert
All Implemented Interfaces:
org.assertj.core.api.Assert<DeploymentAssert,io.camunda.client.api.response.DeploymentEvent>, org.assertj.core.api.Descriptable<DeploymentAssert>, org.assertj.core.api.ExtensionPoints<DeploymentAssert,io.camunda.client.api.response.DeploymentEvent>

public class DeploymentAssert extends org.assertj.core.api.AbstractAssert<DeploymentAssert,io.camunda.client.api.response.DeploymentEvent>
Assertions for DeploymentEvent instances
  • Field Summary

    Fields inherited from class org.assertj.core.api.AbstractAssert

    actual, info, myself, objects, throwUnsupportedExceptionOnEquals
  • Constructor Summary

    Constructors
    Constructor
    Description
    DeploymentAssert(io.camunda.client.api.response.DeploymentEvent actual, RecordStream recordStream)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    containsProcessesByBpmnProcessId(String... expectedBpmnProcessIds)
    Asserts that the deployment contains the given BPMN process IDs
    containsProcessesByResourceName(String... expectedProcessInstanceResourceNames)
    Asserts that the deployment contains processes with the given resources
    Extracts the form with the given form ID
    Extracts the form with the given resource name
    Extracts the process with the given BPMN process ID
    Extracts the process with the given resource name

    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, 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, describedAs
  • Constructor Details

    • DeploymentAssert

      public DeploymentAssert(io.camunda.client.api.response.DeploymentEvent actual, RecordStream recordStream)
  • Method Details

    • containsProcessesByBpmnProcessId

      public DeploymentAssert containsProcessesByBpmnProcessId(String... expectedBpmnProcessIds)
      Asserts that the deployment contains the given BPMN process IDs
      Parameters:
      expectedBpmnProcessIds - BPMN process IDs to check
      Returns:
      this DeploymentAssert
    • containsProcessesByResourceName

      public DeploymentAssert containsProcessesByResourceName(String... expectedProcessInstanceResourceNames)
      Asserts that the deployment contains processes with the given resources
      Parameters:
      expectedProcessInstanceResourceNames - resource names to check
      Returns:
      this DeploymentAssert
    • extractingProcessByBpmnProcessId

      public ProcessAssert extractingProcessByBpmnProcessId(String bpmnProcessId)
      Extracts the process with the given BPMN process ID
      Parameters:
      bpmnProcessId - BPMN process ID to look up
      Returns:
      this ProcessAssert
    • extractingProcessByResourceName

      public ProcessAssert extractingProcessByResourceName(String resourceName)
      Extracts the process with the given resource name
      Parameters:
      resourceName - resource name to look up
      Returns:
      this ProcessAssert
    • extractingFormByFormId

      public FormAssert extractingFormByFormId(String formId)
      Extracts the form with the given form ID
      Parameters:
      formId - form ID to look up
      Returns:
      this FormAssert
    • extractingFormByResourceName

      public FormAssert extractingFormByResourceName(String resourceName)
      Extracts the form with the given resource name
      Parameters:
      resourceName - resource name to look up
      Returns:
      this FormAssert