String jarPath = "pathto.jar";
String jarPath2 = "pathto.jar2";
File jar = createTmpFile(this.tmpDirs.iterator().next(), jarPath);
File jar2 = createTmpFile(this.tmpDirs.iterator().next(), jarPath2);
List<Plugin> expected = new LinkedList<Plugin>(Arrays.asList(
new Plugin("test", jar.getAbsolutePath(), "com.test.PluginModule",
Lists.<String> newArrayList()),
new Plugin("test2", jar2.getAbsolutePath(), "com.test.PluginModule2",
Lists.<String> newArrayList("hello", "world", "some/file.js"))));
String configFile = String.format("plugin:\n" + " - name: test\n"
+ " jar: \"%s\"\n" + " module: \"com.test.PluginModule\"\n"
+ " - name: test2\n" + " jar: \"%s\"\n"
+ " module: \"com.test.PluginModule2\"\n"