public Map<StepDependencyType, StepDependencies> getStepDependencies(
      String workflowId,
      long workflowInstanceId,
      long workflowRunId,
      String stepId,
      String stepAttempt) {
    try {
      return getStepInstanceFieldByIds(
          StepInstanceField.DEPENDENCIES,
          workflowId,
          workflowInstanceId,
          workflowRunId,
          stepId,
          stepAttempt,
          this::getDependencies);
    } catch (MaestroNotFoundException ex) {
      // step dependency summary is not set
      return null;
    }
  }
@Test
  public void testGetStepInstanceStepDependenciesSummary() {
    Map<StepDependencyType, StepDependencies> dependencies =
        stepDao.getStepDependencies(TEST_WORKFLOW_ID, 1, 1, "job1", "1");
    StepDependencies stepDependencies = dependencies.get(StepDependencyType.SIGNAL);
    assertFalse(stepDependencies.isSatisfied());
    Map<StepDependencyType, StepDependencies> latest =
        stepDao.getStepDependencies(TEST_WORKFLOW_ID, 1, 1, "job1", "latest");
    assertEquals(dependencies, latest);
  }