Class InspectedProcessInstance

java.lang.Object
io.camunda.zeebe.process.test.inspections.model.InspectedProcessInstance

public class InspectedProcessInstance extends Object
Helper object to gain access to ProcessInstanceAssert. All this object does is wrap a process instance key. This object is required to use BpmnAssert.assertThat(InspectedProcessInstance).

The helper object enabled asserting process instances which were not started with a command send by the client (e.g. by a timer or a call activity).

  • Constructor Details

    • InspectedProcessInstance

      public InspectedProcessInstance(long processInstanceKey)
  • Method Details

    • getProcessInstanceKey

      public long getProcessInstanceKey()
      Get the process instance key.
      Returns:
      the wrapped process instance key