URL resource = this.getClass().getResource("/config/process/dumb-process.xml");
Process processEntity = (Process) EntityType.PROCESS.getUnmarshaller().unmarshal(resource);
ConfigurationStore.get().publish(EntityType.PROCESS, processEntity);
OozieProcessWorkflowBuilder builder = new OozieProcessWorkflowBuilder(processEntity);
Path bundlePath = new Path("/falcon/staging/workflows", processEntity.getName());
builder.map(cluster, bundlePath);
assertTrue(fs.exists(bundlePath));
BUNDLEAPP bundle = getBundle(bundlePath);
assertEquals(EntityUtil.getWorkflowName(processEntity).toString(), bundle.getName());
assertEquals(1, bundle.getCoordinator().size());