public Map<String, Parameter> getAllParams(
      Step stepDefinition, WorkflowSummary workflowSummary, StepRuntimeSummary runtimeSummary) {
    return paramsManager.generateMergedStepParams(
        workflowSummary, stepDefinition, getStepRuntime(stepDefinition.getType()), runtimeSummary);
  }
@Test
  public void testGetAllParamsOverrideOrder() {
    when(this.defaultParamManager.getDefaultStepParams())
        .thenReturn(
            twoItemMap(
                "foo",
                ParamDefinition.buildParamDefinition("foo", "from-default"),
                "test-param",
                ParamDefinition.buildParamDefinition("test-param", "from-other-default")));
    TypedStep testStep = new TypedStep();
    testStep.setParams(
        twoItemMap(
            "foo", ParamDefinition.buildParamDefinition("foo", "bar-from-step"),
            "test-param", ParamDefinition.buildParamDefinition("test-param", "hello-from-step")));
    testStep.setType(StepType.NOOP);
    testStep.setId("step1");
    Map<String, Parameter> params =
        runtimeManager.getAllParams(testStep, workflowSummary, runtimeSummary);
    assertTrue(params.size() >= 3);
    assertEquals("bar-from-step", params.get("foo").getValue());
    assertEquals("hello-from-step", params.get("test-param").getValue());
    assertEquals("from-inject", params.get("injected-param").getValue());
    assertEquals("NOOP", params.get("injected-step-field").getValue());
  }