Testing Boundary Catch Events?

I’ve got some boundary events that I’d like to have tests for. They are catching signals.
How can I trigger the signal in a test?

Thanks,
-Doug

You can test it by using signal Throw Event in the model. The names of the signal Throw Event and signal boundary event must be the same.

Do you have a sample line of code for me? I’m not a java developer, but have enough skill to work with the fluent assertion library.

Since signal event will be broadcasted to running process instances that will catch it, so you can check the following models. although both throw and catching signals could be in a model, but I think this is not reasonable.

SignalThrow.bpmn (2.2 KB) SignalCatch.bpmn (2.6 KB)