+ " args: hello, world, some/file.js\n", jarPath, jarPath2);
ByteArrayInputStream bais = new ByteArrayInputStream(configFile.getBytes());
ConfigurationParser parser = new YamlParser();
Configuration config = parser.parse(new InputStreamReader(bais), null)
.resolvePaths(new PathResolver(tmpDirs, Collections.<FileParsePostProcessor> emptySet(), new DisplayPathSanitizer()), createFlags());
List<Plugin> plugins = config.getPlugins();
assertEquals(2, plugins.size());
assertEquals(expected, plugins);
assertEquals(0, plugins.get(0).getArgs().size());