import { Either, right } from "@/shared"; import { UserNotFoundError, WrongPasswordError } from "@/usecases/authentication/errors"; import { AuthenticationParams, AuthenticationResult, AuthenticationService } from "@/usecases/authentication/ports"; export class AuthenticationServiceStub implements AuthenticationService { async auth (authenticationParams: AuthenticationParams): Promise> { return right({ accessToken: 'valid_access_token', id: 'valid_id' }) } }