Esempio n. 1
0
  @Test
  public void testFindReusableSubProcesses() {

    knolwedgeService.createDomain();
    String theString = "ParentProcess";

    assertNotNull(theString);
    Collection<String> reusableProcesses = bpmn2Service.getReusableSubProcesses(theString);
    assertNotNull(reusableProcesses);
    assertEquals(1, reusableProcesses.size());

    assertEquals("signal", reusableProcesses.iterator().next());
  }
  @Override
  public Collection<String> getReusableSubProcesses(String processId) {

    return bpmn2Service.getReusableSubProcesses(processId);
  }