// Mocks generated by Mockito 5.4.5 from annotations // in superport/test/widget/login_widget_test.dart. // Do not manually edit this file. // ignore_for_file: no_leading_underscores_for_library_prefixes import 'dart:async' as _i4; import 'package:dartz/dartz.dart' as _i2; import 'package:mockito/mockito.dart' as _i1; import 'package:superport/core/errors/failures.dart' as _i5; import 'package:superport/data/models/auth/auth_user.dart' as _i9; import 'package:superport/data/models/auth/login_request.dart' as _i7; import 'package:superport/data/models/auth/login_response.dart' as _i6; import 'package:superport/data/models/auth/token_response.dart' as _i8; import 'package:superport/services/auth_service.dart' as _i3; // ignore_for_file: type=lint // ignore_for_file: avoid_redundant_argument_values // ignore_for_file: avoid_setters_without_getters // ignore_for_file: comment_references // ignore_for_file: deprecated_member_use // ignore_for_file: deprecated_member_use_from_same_package // ignore_for_file: implementation_imports // ignore_for_file: invalid_use_of_visible_for_testing_member // ignore_for_file: must_be_immutable // ignore_for_file: prefer_const_constructors // ignore_for_file: unnecessary_parenthesis // ignore_for_file: camel_case_types // ignore_for_file: subtype_of_sealed_class class _FakeEither_0 extends _i1.SmartFake implements _i2.Either { _FakeEither_0( Object parent, Invocation parentInvocation, ) : super( parent, parentInvocation, ); } /// A class which mocks [AuthService]. /// /// See the documentation for Mockito's code generation for more information. class MockAuthService extends _i1.Mock implements _i3.AuthService { MockAuthService() { _i1.throwOnMissingStub(this); } @override _i4.Stream get authStateChanges => (super.noSuchMethod( Invocation.getter(#authStateChanges), returnValue: _i4.Stream.empty(), ) as _i4.Stream); @override _i4.Future<_i2.Either<_i5.Failure, _i6.LoginResponse>> login( _i7.LoginRequest? request) => (super.noSuchMethod( Invocation.method( #login, [request], ), returnValue: _i4.Future<_i2.Either<_i5.Failure, _i6.LoginResponse>>.value( _FakeEither_0<_i5.Failure, _i6.LoginResponse>( this, Invocation.method( #login, [request], ), )), ) as _i4.Future<_i2.Either<_i5.Failure, _i6.LoginResponse>>); @override _i4.Future<_i2.Either<_i5.Failure, void>> logout() => (super.noSuchMethod( Invocation.method( #logout, [], ), returnValue: _i4.Future<_i2.Either<_i5.Failure, void>>.value( _FakeEither_0<_i5.Failure, void>( this, Invocation.method( #logout, [], ), )), ) as _i4.Future<_i2.Either<_i5.Failure, void>>); @override _i4.Future<_i2.Either<_i5.Failure, _i8.TokenResponse>> refreshToken() => (super.noSuchMethod( Invocation.method( #refreshToken, [], ), returnValue: _i4.Future<_i2.Either<_i5.Failure, _i8.TokenResponse>>.value( _FakeEither_0<_i5.Failure, _i8.TokenResponse>( this, Invocation.method( #refreshToken, [], ), )), ) as _i4.Future<_i2.Either<_i5.Failure, _i8.TokenResponse>>); @override _i4.Future isLoggedIn() => (super.noSuchMethod( Invocation.method( #isLoggedIn, [], ), returnValue: _i4.Future.value(false), ) as _i4.Future); @override _i4.Future<_i9.AuthUser?> getCurrentUser() => (super.noSuchMethod( Invocation.method( #getCurrentUser, [], ), returnValue: _i4.Future<_i9.AuthUser?>.value(), ) as _i4.Future<_i9.AuthUser?>); @override _i4.Future getAccessToken() => (super.noSuchMethod( Invocation.method( #getAccessToken, [], ), returnValue: _i4.Future.value(), ) as _i4.Future); @override _i4.Future getRefreshToken() => (super.noSuchMethod( Invocation.method( #getRefreshToken, [], ), returnValue: _i4.Future.value(), ) as _i4.Future); @override _i4.Future clearSession() => (super.noSuchMethod( Invocation.method( #clearSession, [], ), returnValue: _i4.Future.value(), returnValueForMissingStub: _i4.Future.value(), ) as _i4.Future); }