private MockProcessInstance(){ long temp = processInstanceCounter.longValue(); processInstanceId = new Long(temp); temp++; processInstanceCounter = new Long(temp);
public MockProcessInstance(IProcessDefinition processDef){ this.processInstanceId = new Long(counter++); this.processDef = processDef;
	private MockProcessInstance(){		long temp = processInstanceCounter.longValue();				processInstanceId = new Long(temp);		temp++;		processInstanceCounter = new Long(temp);	}