export class ProcessControlMock implements Xrm . Controls . ProcessControl { private displayState : Xrm . DisplayState ; private getVisibleElement : Xrm . Controls . UiCanGetVisibleElement ; private setVisibleElement : Xrm . Controls . UiCanSetVisibleElement ; constructor ( displayState , getVisibleElement , setVisibleElement ) { this . displayState = displayState ; this . getVisibleElement = getVisibleElement ; this . setVisibleElement = setVisibleElement ; } public getVisible ( ) { return this . getVisibleElement . getVisible ( ) ; } public setVisible ( visible ) { return this . setVisibleElement . setVisible ( visible ) ; } public setDisplayState ( displayState ) { this . displayState = displayState ; } public getDisplayState ( ) { return this . displayState ; } public reflow ( updateUI , parentStage , nextStage ) { throw new Error ( "Not implemented." ) ; } }