### Question:
PipelineScriptParser { public static Pipeline parse(File scriptFile) throws ParseException, IOException { return parse(scriptFile, null); }  static Pipeline parse(File scriptFile); static Pipeline parse(File scriptFile, List<String> replacementVars); static Pipeline parse(List<String> scriptLines,
            String parentFilePath, List<String> replacementVars);  }### Answer:
@Test public void testParseValidPipelines() throws Exception { for (String validPipeline : newArrayList( "valid1_simple.pipeline", "valid2_arguments.pipeline", "valid3_complex.pipeline", "valid4_collapsed.pipeline")) { parse(new File(TEST_PARSE_ROOT + validPipeline)); } }
@Test public void testParseCorrpted() throws Exception { for (int i = 1; i < 10; i++) { boolean hasEx = false; try { parse(new File(TEST_PARSE_ROOT + "corrupted" + i + ".pipeline")); } catch (ParseException p) { hasEx = true; } assertTrue("corrupted" + i + ".pipeline should not parse ", hasEx); } }