I have a small bpmn2 process (attached) an try to test it. the activities are executed well but at the end the processInstance is in "active-root" state. I thought it should be in "ended" state? (I am working with jBPM4.3)
maybe someone can lighten the darkness in my head thanks!
Ok, after looking at the examples, I found something like: assertProcessInstanceEnded(...) which chekcs the status of the process. There my process was ended. So the problem is resolved.