export class UiCanGetVisibleElementMock implements Xrm . Controls . UiCanGetVisibleElement { public isVisible : boolean ; constructor ( isVisible ) { this . isVisible = isVisible ; } public getVisible ( ) { return this . isVisible ; } }