Class DeploymentAssert
java.lang.Object
org.assertj.core.api.AbstractAssert<DeploymentAssert,io.camunda.zeebe.client.api.response.DeploymentEvent>
io.camunda.zeebe.process.test.assertions.DeploymentAssert
- All Implemented Interfaces:
org.assertj.core.api.Assert<DeploymentAssert,,io.camunda.zeebe.client.api.response.DeploymentEvent> org.assertj.core.api.Descriptable<DeploymentAssert>,org.assertj.core.api.ExtensionPoints<DeploymentAssert,io.camunda.zeebe.client.api.response.DeploymentEvent>
public class DeploymentAssert
extends org.assertj.core.api.AbstractAssert<DeploymentAssert,io.camunda.zeebe.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
ConstructorsConstructorDescriptionDeploymentAssert(io.camunda.zeebe.client.api.response.DeploymentEvent actual, RecordStream recordStream) -
Method Summary
Modifier and TypeMethodDescriptioncontainsProcessesByBpmnProcessId(String... expectedBpmnProcessIds) Asserts that the deployment contains the given BPMN process IDscontainsProcessesByResourceName(String... expectedProcessInstanceResourceNames) Asserts that the deployment contains processes with the given resourcesextractingFormByFormId(String formId) Extracts the form with the given form IDextractingFormByResourceName(String resourceName) Extracts the form with the given resource nameextractingProcessByBpmnProcessId(String bpmnProcessId) Extracts the process with the given BPMN process IDextractingProcessByResourceName(String resourceName) Extracts the process with the given resource nameMethods inherited from class org.assertj.core.api.AbstractAssert
areEqual, asInstanceOf, asList, assertionError, asString, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, doesNotHaveSameHashCodeAs, doesNotHaveToString, doesNotHaveToString, 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, 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
-
DeploymentAssert
public DeploymentAssert(io.camunda.zeebe.client.api.response.DeploymentEvent actual, RecordStream recordStream)
-
-
Method Details
-
containsProcessesByBpmnProcessId
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
Extracts the process with the given BPMN process ID- Parameters:
bpmnProcessId- BPMN process ID to look up- Returns:
- this
ProcessAssert
-
extractingProcessByResourceName
Extracts the process with the given resource name- Parameters:
resourceName- resource name to look up- Returns:
- this
ProcessAssert
-
extractingFormByFormId
Extracts the form with the given form ID- Parameters:
formId- form ID to look up- Returns:
- this
FormAssert
-
extractingFormByResourceName
Extracts the form with the given resource name- Parameters:
resourceName- resource name to look up- Returns:
- this
FormAssert
-