@Test public void testGetWorkflowMetadata() { workflowService.getWorkflowMetadata(DUMMY_ID, DUMMY_ID, Optional.empty()); verify(workflowRevisionService, times(1)) .getWorkflow(DUMMY_ID, DUMMY_ID, Optional.empty(), Optional.empty()); }
@Test public void testListWorkflows() { workflowService.listWorkflows(DUMMY_ID, null, null); verify(workflowRevisionService, times(1)).listWorkflows(DUMMY_ID, Optional.empty(), null, null); }
@Test public void testCreateWorkflow() { workflowService.createWorkflow(DUMMY_ID, null); verify(workflowRevisionService, times(1)) .createWorkflowRevision(DUMMY_ID, Optional.empty(), null); }