import { Injectable } from '@angular/core' ; import { MatSnackBar , MatSnackBarRef , SimpleSnackBar } from '@angular/material/snack-bar' ; @ Injectable ( ) export class NotificationServiceMock { constructor ( ) { } newMessage ( nickname , callback ) { } private launchNotification ( message , action , className , durationTimeMs ) { return null ; } }