Examples of BpmnElementRetrievalDelegate


Examples of org.camunda.bpm.integrationtest.functional.bpmnmodelapi.beans.BpmnElementRetrievalDelegate

  @Test
  public void shouldReturnBpmnModelInstance() {

    runtimeService.startProcessInstanceByKey(TEST_PROCESS);

    BpmnElementRetrievalDelegate delegate = ProgrammaticBeanLookup.lookup(BpmnElementRetrievalDelegate.class);

    Assert.assertNotNull(delegate.getBpmnModelElementInstance());
    Assert.assertNotNull(delegate.getBpmnModelInstance());
    Assert.assertEquals(TEST_PROCESS, delegate.getBpmnModelInstance().getDefinitions().getRootElements().iterator().next().getId());
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.