public void testWorkflowDefinitionVisibility() { // retrieve workflow definitions List<WorkflowDefinition> defs = workflowComponent.getDefinitions(); List<WorkflowDefinition> allDefs = workflowComponent.getAllDefinitions(); assertFalse(defs.isEmpty()); assertFalse(allDefs.isEmpty()); }
public void testGetWorkflowDefinitions() { List<WorkflowDefinition> workflowDefs = workflowComponent.getDefinitions(); assertNotNull(workflowDefs); assertTrue(workflowDefs.size() > 0); }