Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New assertion for ProcessInstances: waitingForMessage or hasMessageSubscription(...) #29

Closed
berndruecker opened this issue Aug 1, 2014 · 1 comment
Assignees
Labels
Milestone

Comments

@berndruecker
Copy link
Member

We could maybe add the possibility to send the message easily like with complete(task())

@martinschimak
Copy link
Contributor

@berndruecker While knowing/considering that ...

    assertThat(processInstance).isWaitingAt("MessageEvent_1");

... already works, you would probably still like to see something more message oriented ...

    assertThat(processInstance).isWaitingForMessage("myMessage");

... where myMessage is ...

  <message id="Message_1" name="myMessage"/>

Correct?

@martinschimak martinschimak self-assigned this Sep 6, 2014
@martinschimak martinschimak added this to the 1.1 milestone Sep 6, 2014
martinschimak added a commit that referenced this issue Sep 12, 2014
…'isNotWaitingFor' and helper methods 'send'

Affects #29
martinschimak added a commit that referenced this issue Sep 12, 2014
… to easily send messages to specific process instances

Affects #29
martinschimak added a commit that referenced this issue Sep 12, 2014
martinschimak added a commit that referenced this issue Sep 12, 2014
martinschimak added a commit that referenced this issue Sep 12, 2014
martinschimak added a commit that referenced this issue Sep 12, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants