public class BpmTest extends TestCase {
public void testBpm() throws Exception {
IConfig config = ConfigUtil.loadXmlForClass(BpmTest.class);
MBpm bpm = MBpm.createBpm(config);
bpm.setAsDefault();
assertNotNull(bpm);
BpmWorkflow testWorkflow = bpm.getWorkflow("test01");
assertNotNull(testWorkflow);
BpmInstance testInstance = testWorkflow.start(new AttributeMap("v01","value01"));
assertNotNull(testInstance);