public Map<String, Artifact> getStepInstanceArtifacts(
      String workflowId,
      long workflowInstanceId,
      long workflowRunId,
      String stepId,
      String stepAttempt) {
    return getStepInstanceFieldByIds(
        StepInstanceField.ARTIFACTS,
        workflowId,
        workflowInstanceId,
        workflowRunId,
        stepId,
        stepAttempt,
        this::getArtifacts);
  }
@Test
  public void testGetStepInstanceArtifacts() {
    Map<String, Artifact> artifacts =
        stepDao.getStepInstanceArtifacts(TEST_WORKFLOW_ID, 1, 1, "job1", "1");
    assertTrue(artifacts.isEmpty());
    Map<String, Artifact> latest =
        stepDao.getStepInstanceArtifacts(TEST_WORKFLOW_ID, 1, 1, "job1", "latest");
    assertEquals(artifacts, latest);
  }