import { FileOpener } from '@ionic-native/file-opener' ; export class FileOpenerMock extends FileOpener { param filePath { string } param fileMIMEType { string } returns { Promise < any > } open ( filePath , fileMIMEType ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; param packageId { string } returns { Promise < any > } uninstall ( packageId ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; param packageId { string } returns { Promise < any > } appIsInstalled ( packageId ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; }