protected internal virtual IList <IBpmnModelInstance> createProcesses(int numberOfProcesses)
        {
            IList <IBpmnModelInstance> result = new List <IBpmnModelInstance>(numberOfProcesses);

            for (int i = 0; i < numberOfProcesses; i++)
            {
                result.Add(ProcessModels.SetOneTaskProcess(i));
            }
            return(result);
        }
        protected internal virtual IList <IBpmnModelInstance> createSequentialCallActivityProcessAsync()
        {
            ICollection <IBpmnModelInstance> modelInstances = new LinkedList <IBpmnModelInstance>();

            modelInstances.Add(CallActivityModels.oneBpmnCallActivityProcessAsExpressionAsync(0));
            modelInstances.Add(CallActivityModels.oneBpmnCallActivityProcessPassingVariables(1, 2));
            modelInstances.Add(CallActivityModels.oneBpmnCallActivityProcessPassingVariables(2, 0));
            modelInstances.Add(ProcessModels.SetOneTaskProcess(3));

            return(modelInstances as IList <IBpmnModelInstance>);
        }