Uses of Class
io.camunda.zeebe.process.test.assertions.ProcessInstanceAssert
Packages that use ProcessInstanceAssert
-
Uses of ProcessInstanceAssert in io.camunda.zeebe.process.test.assertions
Methods in io.camunda.zeebe.process.test.assertions that return ProcessInstanceAssertModifier and TypeMethodDescriptionstatic ProcessInstanceAssertBpmnAssert.assertThat(io.camunda.zeebe.client.api.response.ProcessInstanceEvent instanceEvent) Creates a new instance ofProcessInstanceAssert.static ProcessInstanceAssertBpmnAssert.assertThat(io.camunda.zeebe.client.api.response.ProcessInstanceResult instanceResult) Creates a new instance ofProcessInstanceAssert.static ProcessInstanceAssertBpmnAssert.assertThat(InspectedProcessInstance inspectedProcessInstance) Creates a new instance ofProcessInstanceAssert.ProcessInstanceAssert.extractingLatestCalledProcess(String processId) Extracts the latest called process.MessageAssert.extractingProcessInstance()Extracts the process instance for the given messageProcessInstanceAssert.hasAnyIncidents()Asserts whether any incidents were raised for this process instance (regardless of whether these incidents are active or already resolved)ProcessInstanceAssert.hasCalledProcess(String processId) Asserts whether this process has called another processProcessInstanceAssert.hasCorrelatedMessageByCorrelationKey(String correlationKey, int times) Verifies the expectation that a message with a given correlation key has been correlated a given amount of times.ProcessInstanceAssert.hasCorrelatedMessageByName(String messageName, int times) Verifies the expectation that a message with a given name has been correlated a given amount of times.ProcessInstanceAssert.hasNoIncidents()Asserts whether no incidents were raised for this process instanceProcessInstanceAssert.hasNotPassedElement(String elementId) Verifies the expectation that the process instance has not passed an element with a specific element id.ProcessInstanceAssert.hasPassedElement(String elementId) Verifies the expectation that the process instance has passed an element with a specific element id exactly one time.ProcessInstanceAssert.hasPassedElement(String elementId, int times) Verifies the expectation that the process instance has passed an element with a specific element id exactly N amount of times.ProcessInstanceAssert.hasPassedElementsInOrder(String... elementIds) Verifies the expectation that the process instance has passed the given elements in order.ProcessInstanceAssert.hasVariable(String name) ProcessInstanceAssert.hasVariableWithValue(String name, Object value) Verifies the process instance has a variable with a specific value.ProcessInstanceAssert.isActive()Verifies the expectation that the process instance is active.ProcessInstanceAssert.isCompleted()Verifies the expectation that the process instance is completed.ProcessInstanceAssert.isNotCompleted()Verifies the expectation that the process instance is not completed.ProcessInstanceAssert.isNotTerminated()Verifies the expectation that the process instance is not terminated.ProcessInstanceAssert.isNotWaitingAtElements(String... elementIds) Verifies the expectation that the process instance is currently not waiting at one or more specified elements.ProcessInstanceAssert.isNotWaitingForMessages(String... messageNames) Verifies the expectation that the process instance is currently not waiting to receive one or more specified messages.ProcessInstanceAssert.isStarted()Verifies the expectation that the process instance is started.ProcessInstanceAssert.isTerminated()Verifies the expectation that the process instance is terminated.ProcessInstanceAssert.isWaitingAtElements(String... elementIds) Verifies the expectation that the process instance is currently waiting at one or more specified elements.ProcessInstanceAssert.isWaitingExactlyAtElements(String... elementIdsVarArg) Verifies the expectation that the process instance is currently waiting at the specified elements, and not at any other element.ProcessInstanceAssert.isWaitingForMessages(String... messageNames) Verifies the expectation that the process instance is currently waiting to receive one or more specified messages.