// Mocks generated by Mockito 5.4.4 from annotations // in stackwallet/test/widget_tests/wallet_card_test.dart. // Do not manually edit this file. // ignore_for_file: no_leading_underscores_for_library_prefixes import 'dart:async' as _i8; import 'dart:typed_data' as _i17; import 'dart:ui' as _i14; import 'package:mockito/mockito.dart' as _i1; import 'package:mockito/src/dummies.dart' as _i13; import 'package:stackwallet/db/isar/main_db.dart' as _i3; import 'package:stackwallet/models/isar/stack_theme.dart' as _i16; import 'package:stackwallet/networking/http.dart' as _i6; import 'package:stackwallet/services/locale_service.dart' as _i12; import 'package:stackwallet/services/node_service.dart' as _i2; import 'package:stackwallet/services/wallets.dart' as _i7; import 'package:stackwallet/themes/theme_service.dart' as _i15; import 'package:stackwallet/utilities/flutter_secure_storage_interface.dart' as _i10; import 'package:stackwallet/utilities/prefs.dart' as _i11; import 'package:stackwallet/wallets/crypto_currency/crypto_currency.dart' as _i4; import 'package:stackwallet/wallets/isar/models/wallet_info.dart' as _i9; import 'package:stackwallet/wallets/wallet/wallet.dart' as _i5; // 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: prefer_const_constructors // ignore_for_file: unnecessary_parenthesis // ignore_for_file: camel_case_types // ignore_for_file: subtype_of_sealed_class class _FakeNodeService_0 extends _i1.SmartFake implements _i2.NodeService { _FakeNodeService_0( Object parent, Invocation parentInvocation, ) : super( parent, parentInvocation, ); } class _FakeMainDB_1 extends _i1.SmartFake implements _i3.MainDB { _FakeMainDB_1( Object parent, Invocation parentInvocation, ) : super( parent, parentInvocation, ); } class _FakeWallet_2 extends _i1.SmartFake implements _i5.Wallet { _FakeWallet_2( Object parent, Invocation parentInvocation, ) : super( parent, parentInvocation, ); } class _FakeHTTP_3 extends _i1.SmartFake implements _i6.HTTP { _FakeHTTP_3( Object parent, Invocation parentInvocation, ) : super( parent, parentInvocation, ); } /// A class which mocks [Wallets]. /// /// See the documentation for Mockito's code generation for more information. class MockWallets extends _i1.Mock implements _i7.Wallets { MockWallets() { _i1.throwOnMissingStub(this); } @override _i2.NodeService get nodeService => (super.noSuchMethod( Invocation.getter(#nodeService), returnValue: _FakeNodeService_0( this, Invocation.getter(#nodeService), ), ) as _i2.NodeService); @override set nodeService(_i2.NodeService? _nodeService) => super.noSuchMethod( Invocation.setter( #nodeService, _nodeService, ), returnValueForMissingStub: null, ); @override _i3.MainDB get mainDB => (super.noSuchMethod( Invocation.getter(#mainDB), returnValue: _FakeMainDB_1( this, Invocation.getter(#mainDB), ), ) as _i3.MainDB); @override set mainDB(_i3.MainDB? _mainDB) => super.noSuchMethod( Invocation.setter( #mainDB, _mainDB, ), returnValueForMissingStub: null, ); @override List<_i5.Wallet<_i4.CryptoCurrency>> get wallets => (super.noSuchMethod( Invocation.getter(#wallets), returnValue: <_i5.Wallet<_i4.CryptoCurrency>>[], ) as List<_i5.Wallet<_i4.CryptoCurrency>>); @override _i5.Wallet<_i4.CryptoCurrency> getWallet(String? walletId) => (super.noSuchMethod( Invocation.method( #getWallet, [walletId], ), returnValue: _FakeWallet_2<_i4.CryptoCurrency>( this, Invocation.method( #getWallet, [walletId], ), ), ) as _i5.Wallet<_i4.CryptoCurrency>); @override void addWallet(_i5.Wallet<_i4.CryptoCurrency>? wallet) => super.noSuchMethod( Invocation.method( #addWallet, [wallet], ), returnValueForMissingStub: null, ); @override _i8.Future deleteWallet( _i9.WalletInfo? info, _i10.SecureStorageInterface? secureStorage, ) => (super.noSuchMethod( Invocation.method( #deleteWallet, [ info, secureStorage, ], ), returnValue: _i8.Future.value(), returnValueForMissingStub: _i8.Future.value(), ) as _i8.Future); @override _i8.Future load( _i11.Prefs? prefs, _i3.MainDB? mainDB, ) => (super.noSuchMethod( Invocation.method( #load, [ prefs, mainDB, ], ), returnValue: _i8.Future.value(), returnValueForMissingStub: _i8.Future.value(), ) as _i8.Future); @override _i8.Future loadAfterStackRestore( _i11.Prefs? prefs, List<_i5.Wallet<_i4.CryptoCurrency>>? wallets, bool? isDesktop, ) => (super.noSuchMethod( Invocation.method( #loadAfterStackRestore, [ prefs, wallets, isDesktop, ], ), returnValue: _i8.Future.value(), returnValueForMissingStub: _i8.Future.value(), ) as _i8.Future); } /// A class which mocks [LocaleService]. /// /// See the documentation for Mockito's code generation for more information. class MockLocaleService extends _i1.Mock implements _i12.LocaleService { MockLocaleService() { _i1.throwOnMissingStub(this); } @override String get locale => (super.noSuchMethod( Invocation.getter(#locale), returnValue: _i13.dummyValue( this, Invocation.getter(#locale), ), ) as String); @override bool get hasListeners => (super.noSuchMethod( Invocation.getter(#hasListeners), returnValue: false, ) as bool); @override _i8.Future loadLocale({bool? notify = true}) => (super.noSuchMethod( Invocation.method( #loadLocale, [], {#notify: notify}, ), returnValue: _i8.Future.value(), returnValueForMissingStub: _i8.Future.value(), ) as _i8.Future); @override void addListener(_i14.VoidCallback? listener) => super.noSuchMethod( Invocation.method( #addListener, [listener], ), returnValueForMissingStub: null, ); @override void removeListener(_i14.VoidCallback? listener) => super.noSuchMethod( Invocation.method( #removeListener, [listener], ), returnValueForMissingStub: null, ); @override void dispose() => super.noSuchMethod( Invocation.method( #dispose, [], ), returnValueForMissingStub: null, ); @override void notifyListeners() => super.noSuchMethod( Invocation.method( #notifyListeners, [], ), returnValueForMissingStub: null, ); } /// A class which mocks [ThemeService]. /// /// See the documentation for Mockito's code generation for more information. class MockThemeService extends _i1.Mock implements _i15.ThemeService { MockThemeService() { _i1.throwOnMissingStub(this); } @override _i6.HTTP get client => (super.noSuchMethod( Invocation.getter(#client), returnValue: _FakeHTTP_3( this, Invocation.getter(#client), ), ) as _i6.HTTP); @override set client(_i6.HTTP? _client) => super.noSuchMethod( Invocation.setter( #client, _client, ), returnValueForMissingStub: null, ); @override _i3.MainDB get db => (super.noSuchMethod( Invocation.getter(#db), returnValue: _FakeMainDB_1( this, Invocation.getter(#db), ), ) as _i3.MainDB); @override List<_i16.StackTheme> get installedThemes => (super.noSuchMethod( Invocation.getter(#installedThemes), returnValue: <_i16.StackTheme>[], ) as List<_i16.StackTheme>); @override void init(_i3.MainDB? db) => super.noSuchMethod( Invocation.method( #init, [db], ), returnValueForMissingStub: null, ); @override _i8.Future install({required _i17.Uint8List? themeArchiveData}) => (super.noSuchMethod( Invocation.method( #install, [], {#themeArchiveData: themeArchiveData}, ), returnValue: _i8.Future.value(), returnValueForMissingStub: _i8.Future.value(), ) as _i8.Future); @override _i8.Future remove({required String? themeId}) => (super.noSuchMethod( Invocation.method( #remove, [], {#themeId: themeId}, ), returnValue: _i8.Future.value(), returnValueForMissingStub: _i8.Future.value(), ) as _i8.Future); @override _i8.Future checkDefaultThemesOnStartup() => (super.noSuchMethod( Invocation.method( #checkDefaultThemesOnStartup, [], ), returnValue: _i8.Future.value(), returnValueForMissingStub: _i8.Future.value(), ) as _i8.Future); @override _i8.Future verifyInstalled({required String? themeId}) => (super.noSuchMethod( Invocation.method( #verifyInstalled, [], {#themeId: themeId}, ), returnValue: _i8.Future.value(false), ) as _i8.Future); @override _i8.Future> fetchThemes() => (super.noSuchMethod( Invocation.method( #fetchThemes, [], ), returnValue: _i8.Future>.value( <_i15.StackThemeMetaData>[]), ) as _i8.Future>); @override _i8.Future<_i17.Uint8List> fetchTheme( {required _i15.StackThemeMetaData? themeMetaData}) => (super.noSuchMethod( Invocation.method( #fetchTheme, [], {#themeMetaData: themeMetaData}, ), returnValue: _i8.Future<_i17.Uint8List>.value(_i17.Uint8List(0)), ) as _i8.Future<_i17.Uint8List>); @override _i16.StackTheme? getTheme({required String? themeId}) => (super.noSuchMethod(Invocation.method( #getTheme, [], {#themeId: themeId}, )) as _i16.StackTheme?); }