import { Badge } from '@ionic-native/badge' ; export class BadgeMOck extends Badge { returns { Promise < boolean > } clear ( ) { return new Promise ( ( resolve , reject ) => { resolve ( true ) ; } ) ; } ; param { number } badgeNumber returns { Promise < any > } set ( badgeNumber ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; returns { Promise < any > } get ( ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; param { number } increaseBy returns { Promise < any > } increase ( increaseBy ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; param { number } decreaseBy returns { Promise < any > } decrease ( decreaseBy ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; returns { Promise < any > } hasPermission ( ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; returns { Promise < any > } registerPermission ( ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; }