new MetaTaskDecoratorBase());
File root = new File(Thread.currentThread().getContextClassLoader()
.getResource("uihelper").getFile());
Map<String, Object> contexts = new HashMap<String, Object>();
contexts.put("mockExternalService", new MockExternalContext());
BuilderConfigurationProvider configurationProvider = new BuilderConfigurationProvider(
root, contexts);
configurationProvider
.addUIHelperConfigurationUriHandler(new JBPM5ConfigurationHandler());
configurationProvider
.addUIHelperConfigurationUriHandler(new ActivitiConfigurationHandler());
BuilderConfiguration config = configurationProvider
.createConfiguration();
helper = new SmartTaskBuilder(config);
}