export class ProcessMock implements Xrm . ProcessFlow . Process { public id : string ; public name : string ; public stages : Xrm . Collection . ItemCollection < Xrm . ProcessFlow . Stage > ; public rendered : boolean ; constructor ( components ) { this . id = components . id ; this . name = components . name ; this . stages = components . stages ; this . rendered = components . rendered ; } public getId ( ) { return this . id ; } public getName ( ) { return this . name ; } public getStages ( ) { return this . stages ; } public isRendered ( ) { return this . rendered ; } } export interface IProcessComponents { id : string ; name : string ; stages : Xrm . Collection . ItemCollection < Xrm . ProcessFlow . Stage > ; rendered : boolean ; }