}
@Test
public void processIdAndProcessDefinitionTest() throws Exception {
// JaxbProcessDefinition
ProcessAssetDesc assetDesc = new ProcessAssetDesc(
"org.test.proc.id", "The Name Of The Process",
"1.999.23.Final", "org.test.proc",
"RuleFlow", KnowledgeType.PROCESS.toString(),
"org.test.proc",
"org.test.proc:procs:1.999.Final");
JaxbProcessDefinition jaxbProcDef = new JaxbProcessDefinition();
jaxbProcDef.setDeploymentId(assetDesc.getDeploymentId());
jaxbProcDef.setId(assetDesc.getId());
jaxbProcDef.setName(assetDesc.getName());
jaxbProcDef.setPackageName(assetDesc.getPackageName());
jaxbProcDef.setVersion(assetDesc.getVersion());
Map<String, String> forms = new HashMap<String, String>();
forms.put( "locationForm", "GPS: street: post code: city: state: land: planet: universe: ");
jaxbProcDef.setForms(forms);
JaxbProcessDefinition copyJaxbProcDef = testRoundTrip(jaxbProcDef);