@JsonIgnore
  public List<String> getAllStepIds() {
    List<String> allStepIds = new ArrayList<>(steps.size());
    getAllStepIds(steps, allStepIds);
    return allStepIds;
  }
@Test
  public void testGetAllStepIds() {
    TypedStep step = new TypedStep();
    step.setId("foo");
    Workflow workflow =
        Workflow.builder().steps(Collections.nCopies(Constants.STEP_LIST_SIZE_LIMIT, step)).build();
    assertEquals(Constants.STEP_LIST_SIZE_LIMIT, workflow.getAllStepIds().size());
    assertEquals(
        Collections.nCopies(Constants.STEP_LIST_SIZE_LIMIT, "foo"), workflow.getAllStepIds());
  }