-
Notifications
You must be signed in to change notification settings - Fork 693
Closed
Labels
component/camunda-process-testRelated to the Camunda-Process-Test componentRelated to the Camunda-Process-Test componentkind/featureCategorizes an issue or PR as a feature, i.e. new behaviorCategorizes an issue or PR as a feature, i.e. new behaviorversion:8.8.0-alpha8version:8.8.0-alpha8-rc1
Description
Description
I want to assert that a process instance is waiting for a message (i.e. has an open message subscription).
The assertion is an equivalent for the assertions in:
- C7: isWaitingFor()
- ZPT: isWaitingForMessages()
Tasks
- Add a new assertion for process instances to verify that the instance has an open message subscription
- Define the message subscription by:
- a given message name
- (optional) a given message correlation key
For example:
assertThat(processInstance).isWaitingForMessage("message");
assertThat(processInstance).isWaitingForMessage("message", "correlation_key");
Metadata
Metadata
Assignees
Labels
component/camunda-process-testRelated to the Camunda-Process-Test componentRelated to the Camunda-Process-Test componentkind/featureCategorizes an issue or PR as a feature, i.e. new behaviorCategorizes an issue or PR as a feature, i.e. new behaviorversion:8.8.0-alpha8version:8.8.0-alpha8-rc1