public virtual void testTaskInsideEmbeddedSubprocess() { //JAVA TO C# CONVERTER WARNING: The .NET Type.FullName property will not always yield results identical to the Java Class.getName method: deployment(Bpmn.createExecutableProcess("testProcess").startEvent().subProcess().embeddedSubProcess().startEvent().serviceTask().camundaClass(typeof(AssertingJavaDelegate).FullName).endEvent().subProcessDone().endEvent().done()); AssertingJavaDelegate.addAsserts(new DelegateExecutionAsserterAnonymousInnerClass3(this)); runtimeService.startProcessInstanceByKey("testProcess"); }
public virtual void testConcurrentServiceTasks() { //JAVA TO C# CONVERTER WARNING: The .NET Type.FullName property will not always yield results identical to the Java Class.getName method: deployment(Bpmn.createExecutableProcess("testProcess").startEvent().parallelGateway("fork").serviceTask().camundaClass(typeof(AssertingJavaDelegate).FullName).parallelGateway("join").endEvent().moveToNode("fork").serviceTask().camundaClass(typeof(AssertingJavaDelegate).FullName).connectTo("join").done()); AssertingJavaDelegate.addAsserts(new DelegateExecutionAsserterAnonymousInnerClass2(this)); runtimeService.startProcessInstanceByKey("testProcess"); }