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);