Example #1
0
  public void testWorkflowDefinitionVisibility() {
    // retrieve workflow definitions
    List<WorkflowDefinition> defs = workflowComponent.getDefinitions();
    List<WorkflowDefinition> allDefs = workflowComponent.getAllDefinitions();

    assertFalse(defs.isEmpty());
    assertFalse(allDefs.isEmpty());
  }
Example #2
0
 public void testGetWorkflowDefinitions() {
   List<WorkflowDefinition> workflowDefs = workflowComponent.getDefinitions();
   assertNotNull(workflowDefs);
   assertTrue(workflowDefs.size() > 0);
 }