ITaskInstance taskInstance =  new MockTaskInstance(taskDef,processInstance,foe);
ITaskInstance taskInstance =  new MockTaskInstance(taskDef,(MockProcessInstance) processInstance,foe);
	public ITaskInstance createTaskInstance(ITaskDefinition taskDef,			IProcessInstance processInstance, IFOE foe)			throws CreateObjectException {		ITaskInstance taskInstance =  new MockTaskInstance(taskDef,processInstance,foe);		processInstance.getTaskInstances().add(taskInstance);		audit.add(taskInstance);		return taskInstance;	}