import { UserService } from '@modules/auth/services' ; import { MockUser , User } from '@testing/mocks' ; import { Observable , of } from 'rxjs' ; const mockUser = new MockUser ( ) ; export class UserServiceStub implements UserService { set user ( user ) { } get user$ ( ) : Observable < User > { return of ( mockUser ) ; } }