public Map<String, Parameter> getAllParams(
      Step stepDefinition, WorkflowSummary workflowSummary, StepRuntimeSummary runtimeSummary) {
    return paramsManager.generateMergedStepParams(
        workflowSummary, stepDefinition, getStepRuntime(stepDefinition.getType()), runtimeSummary);
  }
@Test(expected = MaestroValidationException.class)
  public void testMergeNestedParamMismatchTypes() {
    when(this.defaultParamManager.getDefaultStepParams())
        .thenReturn(
            Collections.singletonMap(
                "nested-mismatch", ParamDefinition.buildParamDefinition("foo", "bar")));
    TypedStep testStep = new TypedStep();
    testStep.setParams(
        singletonMap(
            "nested-mismatch",
            MapParamDefinition.builder()
                .name("nested-mismatch")
                .value(
                    Collections.singletonMap(
                        "default-new",
                        ParamDefinition.buildParamDefinition("default-new", "from-default")))
                .build()));
    testStep.setType(StepType.NOOP);
    testStep.setId("step1");
    runtimeManager.getAllParams(testStep, workflowSummary, runtimeSummary);
  }