public Map<String, Parameter> getAllParams(
      Step stepDefinition, WorkflowSummary workflowSummary, StepRuntimeSummary runtimeSummary) {
    return paramsManager.generateMergedStepParams(
        workflowSummary, stepDefinition, getStepRuntime(stepDefinition.getType()), runtimeSummary);
  }
@Test
  public void testGetAllParams() {
    when(defaultParamManager.getDefaultStepParams())
        .thenReturn(
            twoItemMap(
                "default1", ParamDefinition.buildParamDefinition("default1", "d1"),
                "default2", ParamDefinition.buildParamDefinition("default2", "d2")));
    TypedStep testStep = new TypedStep();
    testStep.setId("step1");
    testStep.setParams(
        twoItemMap(
            "foo", ParamDefinition.buildParamDefinition("foo", "bar"),
            "test-param", ParamDefinition.buildParamDefinition("test-param", "hello")));
    testStep.setType(StepType.NOOP);
    testStep.setId("step1");
    Map<String, Parameter> params =
        runtimeManager.getAllParams(testStep, workflowSummary, runtimeSummary);
    assertTrue(params.size() >= 4);
    assertEquals("bar", params.get("foo").getValue());
    assertEquals("hello", params.get("test-param").getValue());
    assertEquals("d1", params.get("default1").getValue());
    assertEquals("d2", params.get("default2").getValue());
  }