author Damien Dell'Amico <damien.dellamico@gmail.com>
 *  copyright license export class NavMock { public pop ( ) { return new Promise ( function ( resolve ) : void { resolve ( ) ; } ) ; } public push ( ) { return new Promise ( function ( resolve ) : void { resolve ( ) ; } ) ; } public getActive ( ) { return { 'instance' : { 'model' : 'something' , } , } ; } public setRoot ( ) { return true ; } } export class PlatformMock { public ready ( ) { return new Promise ( ( resolve ) => { resolve ( ) ; } ) ; } } export class MenuMock { public close ( ) { return new Promise ( ( resolve ) => { resolve ( ) ; } ) ; } } export class LoadingControllerMock { create ( opts ? ) { return { present : ( ) => { } , dismiss : ( ) => { } } ; } ; } export class ViewControllerMock { dismiss ( data ? , role ? ) { return new Promise ( function ( resolve ) : void { resolve ( ) ; } ) ; } } export class AlertControllerMock { create ( ) { return { } ; } }