Assert.assertNull(lo);
closeError();
}
public void testComplicated() {
LapgOptions lo = LapgOptions.parseArguments("-e -x -o outputY -i folder1;folder2 -i folder3 -t java2 a=5 b=6 syntax.g".split(" "), failingStream);
Assert.assertNotNull(lo);
Assert.assertEquals("syntax.g", lo.getInput());
Assert.assertEquals("outputY", lo.getOutputFolder());
Assert.assertEquals(LapgOptions.DEBUG_TABLES, lo.getDebug());
Assert.assertEquals("java2", lo.getTemplateName());
Assert.assertEquals(3, lo.getIncludeFolders().size());
Assert.assertEquals("folder1", lo.getIncludeFolders().get(0));
Assert.assertEquals("folder2", lo.getIncludeFolders().get(1));
Assert.assertEquals("folder3", lo.getIncludeFolders().get(2));
Assert.assertEquals(2, lo.getAdditionalOptions().size());
Assert.assertEquals("5", lo.getAdditionalOptions().get("a"));
Assert.assertEquals("6", lo.getAdditionalOptions().get("b"));
Assert.assertEquals(false, lo.isUseDefaultTemplates());
}