import { TestBed } from '@angular/core/testing' ; import { NotificationService } from './notification.service' ; import { MatSnackBarModule } from '@angular/material/snack-bar' ; describe ( 'NotificationService' , ( ) => { let service ; beforeEach ( ( ) => { TestBed . configureTestingModule ( { imports : [ MatSnackBarModule ] } ) ; service = TestBed . inject ( NotificationService ) ; } ) ; it ( 'should be created' , ( ) => { expect ( service ) . toBeTruthy ( ) ; } ) ; } ) ;