FlowInputs { public void setInputFilePath(String inputFilePath) { if (stepConfig == null) { stepConfig = new HashMap<>(); } Map<String, Object> fileLocations = (Map<String, Object>)stepConfig.get("fileLocations"); if (fileLocations == null) { fileLocations = new HashMap<>(); stepConfig.put("fileLocations", fileLocations); } fileLocations.put("inputFilePath", inputFilePath); } FlowInputs();  FlowInputs(String flowName);  FlowInputs(String flowName, String... steps); void setInputFilePath(String inputFilePath); String getFlowName(); void setFlowName(String flowName); List<String> getSteps(); void setSteps(List<String> steps); String getJobId(); void setJobId(String jobId); Map<String, Object> getOptions(); void setOptions(Map<String, Object> options); Map<String, Object> getStepConfig(); void setStepConfig(Map<String, Object> stepConfig);  }
@Test void setInputFilePath() { FlowInputs inputs = new FlowInputs("anyflow"); inputs.setInputFilePath("/path/to/data"); Map<String, Object> fileLocations = (Map<String, Object>) inputs.getStepConfig().get("fileLocations"); assertEquals("/path/to/data", fileLocations.get("inputFilePath")); }