public void testInstallPluginNull() throws IOException {
pluginManager(null).downloadAndExtract("");
}
@Test
public void testInstallPlugin() throws IOException {
<BUG>PluginManager pluginManager = pluginManager("file://".concat(PluginManagerTests.class.getResource("plugin_with_classfile.zip").getFile()));
pluginManager.downloadAndExtract("plugin");</BUG>
File[] plugins = pluginManager.getListInstalledPlugins();
assertThat(plugins, notNullValue());
assertThat(plugins.length, is(1));

public void testInstallPluginNull() throws IOException {
pluginManager(null).downloadAndExtract("");
}
@Test
public void testInstallPlugin() throws IOException {
PluginManager pluginManager = pluginManager("file://".concat(
URI.create(PluginManagerTests.class.getResource("plugin_with_classfile.zip").toString()).getPath()));
pluginManager.downloadAndExtract("plugin");
File[] plugins = pluginManager.getListInstalledPlugins();
assertThat(plugins, notNullValue());
assertThat(plugins.length, is(1));
