import { Injectable } from '@angular/core' ; import { Subject } from 'rxjs' ; import { ObENotificationType , ObINotification } from '../notification.model' ; import { ObNotificationConfig } from '../notification.config' ; @ Injectable ( ) export class ObMockNotificationService { clearAllOnNavigate = false ; events = new Subject < ObINotification > ( ) ; constructor ( public config ) { } info ( config ) { return { } as ObINotification ; } success ( config ) { return { } as ObINotification ; } warning ( config ) { return { } as ObINotification ; } error ( config ) { return { } as ObINotification ; } send ( config , type ? ) { return { } as ObINotification ; } clear ( channel ) { } clearAll ( ) { } }