ServiceElement service = new ServiceElement();
service.getServiceBeanConfig().setConfigArgs("rio-test.something.something:darkside:config:1.0");
String[] args = ConfigHelper.getConfigArgs(service);
Assert.assertNotNull(args);
Assert.assertEquals(1, args.length);
Configuration configuration = new GroovyConfig(args, Thread.currentThread().getContextClassLoader());
Assert.assertNotNull(configuration);
} finally {
FileUtils.remove(new File(repo, "rio-test"));
}
}