import { Injectable } from '@angular/core' ; import { BehaviorSubject , Observable , of } from 'rxjs' ; import { IAuthService , IAuthStatus , defaultAuthStatus } from './auth.service' ; @ Injectable ( ) export class AuthServiceFake implements IAuthService { authStatus = new BehaviorSubject < IAuthStatus > ( defaultAuthStatus ) ; constructor ( ) { } login ( email , password ) { return of ( defaultAuthStatus ) ; } logout ( ) { } getToken ( ) { return '' ; } }