export class StageMock implements Xrm . ProcessFlow . Stage { public id : string ; public name : string ; public status : Xrm . ProcessFlow . StageStatus ; public category : XrmEnum . StageCategory ; public steps : Xrm . ProcessFlow . Step [ ] ; constructor ( id , name , status , category ? , steps ? ) { this . id = id ; this . name = name ; this . status = status ; this . category = category ; this . steps = steps ; } public getCategory ( ) { const stageCategory = this . category ; return { getValue ( ) { return stageCategory ; } , } ; } public getEntityName ( ) { throw new Error ( "get entity name not implemented" ) ; } public getId ( ) { return this . id ; } public getName ( ) { return this . name ; } public getStatus ( ) { return this . status ; } public getSteps ( ) { return this . steps ; } public _setStatus ( status ) { this . status = status ; } public getNavigationBehavior ( ) { throw new Error ( "getNavigationBehavior not implemented" ) ; } }