### Question:
AlgorithmExecution { public static List<Input> parseInputs(List<String> inputsJson) { JsonConverter<Input> jsonConverterInput = new JsonConverter<>(); List<Input> inputs = new ArrayList<>(); for (String json : inputsJson) { try { inputs.add(jsonConverterInput.fromJsonString(json, Input.class)); } catch (IOException e1) { e1.printStackTrace(); } } return inputs; }  static List<ConfigurationValue> parseConfigurationValues(List<String> parameterValuesJson); static List<Input> parseInputs(List<String> inputsJson); static void main(String args[]);  }### Answer:
@Test public void testParseInputs() throws Exception { List<String> inputsJson = new ArrayList<>(); String inputJson = "{\"type\":\"fileInput\",\"fileName\":\"myFile\"}"; inputsJson.add(inputJson); Input input = AlgorithmExecution.parseInputs(inputsJson).get(0); assertTrue(input instanceof FileInput); assertTrue(((FileInput) input).getFileName().equals("myFile")); }