import { Observable } from 'rxjs' ; import { LocalAuthenticationDataSource } from '@data' ; export class MockLocalAuthenticationDataSource implements LocalAuthenticationDataSource { mockSaveTokenResult : Observable < boolean > = new Observable ( ) ; mockGetTokenResult : Observable < string > = new Observable ( ) ; saveToken ( ) { return this . mockSaveTokenResult ; } getToken ( ) { return this . mockGetTokenResult ; } }