ToolModel<CeylonImportJarTool> model = pluginLoader.loadToolModel("import-jar");
Assert.assertNotNull(model);
CeylonImportJarTool tool = pluginFactory.bindArguments(model, options(
"--descriptor", "test/src/com/redhat/ceylon/tools/test/test-descriptor.properties",
"importtest/1.0", "test/src/com/redhat/ceylon/tools/test/test.jar"));
tool.run();
File f1 = destFile("importtest/1.0/importtest-1.0.jar");
File f2 = destFile("importtest/1.0/importtest-1.0.jar.sha1");
File f3 = destFile("importtest/1.0/module.properties");
Assert.assertTrue(f1.exists() && f2.exists());
Assert.assertTrue(f3.exists());