### Question:
Launcher { public static void main(String[] args) throws IOException, UIMAException, ParseException { if (args == null || args.length == 0) { String home = System.getProperty("basedir"); listPipelinesAndAsk(new File(home + "/pipelines")); } else if (args.length > 0) { List<String> cliArgs = new ArrayList<String>(); for (int i = 1; i < args.length; i++) { cliArgs.add(args[i]); } runPipeline(new File(args[0]), cliArgs); } else { System.err.println("Please provide a script file"); } }  static void main(String[] args); static void listPipelinesAndAsk(File pipelines); static void runPipeline(File scriptFile, List<String> cliArgs); static final String OK_MESSAGE; }### Answer:
@Test public void testBeanshell() throws Exception { Launcher.main(new String[] { TESTS_ROOT + "laucher/beanshell.pipeline" }); }
@Test public void testSimple() throws Exception { Launcher.main(new String[] { TESTS_ROOT + "laucher/simple.pipeline" }); }