public StepInstanceActionResponse bypassStepDependencies(
      String workflowId, long workflowInstanceId, String stepId, User user, boolean blocking) {
    WorkflowInstance instance =
        instanceDao.getLatestWorkflowInstanceRun(workflowId, workflowInstanceId);
    return actionDao.bypassStepDependencies(instance, stepId, user, blocking);
  }
@Test
  public void testBypassDependencies() {
    when(instance.getStatus()).thenReturn(WorkflowInstance.Status.IN_PROGRESS);
    stepActionHandler.bypassStepDependencies("sample-minimal-wf", 1, "job1", user, true);
    verify(actionDao, times(1)).bypassStepDependencies(instance, "job1", user, true);
  }