Junit assertj - test async task - AbstractBpmnActivityBehavior

I am trying to make a junit test of an task that is implemented with a java delegate extending AbstractBpmnActivityBehavior. Thus, is asyncrounous.

The task is in a large BPMN flow, so, how to I test that just that async task works? That I can start it, let it wait and resume it with a call to the “signal” method?



Hi Frank,

I didn’t see your public post here in time, so I made your detailed question public and answered it there: Camunda BPM Assert - async java delegate - AbstractBpmnActivityBehavior

Hope that helps.