Package org.camunda.community.bpmndt.api
Class TestCaseInstance
java.lang.Object
org.camunda.community.bpmndt.api.TestCaseInstance
- All Implemented Interfaces:
AutoCloseable
Link between a test case and its execution, utilizing a process instance that was instantiated by a
TestCaseExecutor and handlers (e.g.
UserTaskHandler) that are part of a test case.-
Method Summary
Modifier and TypeMethodDescriptionvoidapply(long processInstanceKey, CallActivityHandler handler) voidapply(long processInstanceKey, CustomMultiInstanceHandler handler) voidapply(long processInstanceKey, JobHandler handler) voidapply(long processInstanceKey, MessageEventHandler handler) voidapply(long processInstanceKey, OutboundConnectorHandler handler) voidapply(long processInstanceKey, SignalEventHandler handler) voidapply(long processInstanceKey, TimerEventHandler handler) voidapply(long processInstanceKey, UserTaskHandler handler) voidclose()io.camunda.zeebe.client.ZeebeClientio.camunda.zeebe.process.test.api.ZeebeTestEnginevoidvoidhasPassedMultiInstance(long processInstanceKey, String elementId) voidhasTerminated(long processInstanceKey, String bpmnElementId) voidhasTerminatedMultiInstance(long processInstanceKey, String elementId) voidisCompleted(long processInstanceKey) voidisWaitingAt(long processInstanceKey, String elementId)
-
Method Details
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-
apply
-
apply
-
apply
-
apply
-
apply
-
apply
-
apply
-
apply
-
getClient
public io.camunda.zeebe.client.ZeebeClient getClient() -
getEngine
public io.camunda.zeebe.process.test.api.ZeebeTestEngine getEngine() -
hasPassed
-
hasPassedMultiInstance
-
hasTerminated
-
hasTerminatedMultiInstance
-
isCompleted
public void isCompleted(long processInstanceKey) -
isWaitingAt
-