public void parseStepParameter(
      Map<String, Map<String, Object>> allStepOutputData,
      Map<String, Parameter> workflowParams,
      Map<String, Parameter> stepParams,
      Parameter param,
      String stepId) {
    parseStepParameter(
        allStepOutputData, workflowParams, stepParams, param, stepId, new HashSet<>());
  }
@Test
  public void testParseStepParameterWithSameName() {
    LongParameter bar = LongParameter.builder().name("sample").expression("sample;").build();
    paramEvaluator.parseStepParameter(
        Collections.emptyMap(),
        Collections.singletonMap(
            "sample", LongParameter.builder().evaluatedResult(5L).evaluatedTime(123L).build()),
        Collections.singletonMap("sample", LongParameter.builder().expression("sample;").build()),
        bar,
        "step1");
    assertEquals(5L, bar.getEvaluatedResult().longValue());

    bar = LongParameter.builder().name("sample").expression("sample;").build();
    paramEvaluator.parseStepParameter(
        Collections.emptyMap(),
        Collections.singletonMap(
            "sample", LongParameter.builder().evaluatedResult(5L).evaluatedTime(123L).build()),
        Collections.singletonMap(
            "sample", LongParameter.builder().evaluatedResult(123L).evaluatedTime(123L).build()),
        bar,
        "step1");
    assertEquals(123L, bar.getEvaluatedResult().longValue());
  }