export class NavigationStaticMock implements Xrm . Navigation { private notImplementedError = "Navigation methods not implemented. Consider stubbing calls using a tool such as Sinon.JS" ; public navigateTo ( pageInput , navigationOptions ? ) { throw new Error ( this . notImplementedError ) ; } public openAlertDialog ( alertStrings , alertOptions ) { throw new Error ( this . notImplementedError ) ; } public openConfirmDialog ( confirmStrings , confirmOptions ) ; public openConfirmDialog ( errorOptions ) ; public openConfirmDialog ( param ? ) { throw new Error ( this . notImplementedError ) ; } public openErrorDialog ( errorOptions ) { throw new Error ( this . notImplementedError ) ; } public openFile ( file , openFileOptions ) { throw new Error ( this . notImplementedError ) ; } public openForm ( entityFormOptions , formParameters ) { throw new Error ( this . notImplementedError ) ; } public openUrl ( url , openUrlOptions ? ) { throw new Error ( this . notImplementedError ) ; } public openWebResource ( webResourceName , windowOptions ? , data ? ) { throw new Error ( this . notImplementedError ) ; } }