use of org.walkmod.conf.entities.impl.PluginConfigImpl in project walkmod-core by walkmod.
the class PluginsConfigurationProviderTest method testInvalidPlugins.
@Test
public void testInvalidPlugins() {
IvyConfigurationProvider provider = new IvyConfigurationProvider();
Configuration conf = new ConfigurationImpl();
provider.init(conf);
PluginConfig pc = new PluginConfigImpl();
pc.setGroupId("foo");
pc.setArtifactId("bar");
pc.setVersion("10");
conf.setPlugins(new LinkedList());
conf.getPlugins().add(pc);
Exception exception = null;
try {
provider.load();
} catch (ConfigurationException e) {
exception = e;
}
Assert.assertNotNull(exception);
}
Aggregations