// Mocks generated by Mockito 5.4.1 from annotations // in stackwallet/test/services/coins/manager_test.dart. // Do not manually edit this file. // @dart=2.19 // ignore_for_file: no_leading_underscores_for_library_prefixes import 'dart:async' as _i11; import 'package:decimal/decimal.dart' as _i9; import 'package:mockito/mockito.dart' as _i1; import 'package:stackwallet/db/isar/main_db.dart' as _i7; import 'package:stackwallet/electrumx_rpc/cached_electrumx.dart' as _i5; import 'package:stackwallet/electrumx_rpc/electrumx.dart' as _i4; import 'package:stackwallet/models/balance.dart' as _i6; import 'package:stackwallet/models/isar/models/isar_models.dart' as _i13; import 'package:stackwallet/models/paymint/fee_object_model.dart' as _i3; import 'package:stackwallet/models/signing_data.dart' as _i14; import 'package:stackwallet/services/coins/firo/firo_wallet.dart' as _i10; import 'package:stackwallet/services/transaction_notification_tracker.dart' as _i2; import 'package:stackwallet/utilities/amount/amount.dart' as _i8; import 'package:stackwallet/utilities/enums/coin_enum.dart' as _i12; // 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: 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 _FakeTransactionNotificationTracker_0 extends _i1.SmartFake implements _i2.TransactionNotificationTracker { _FakeTransactionNotificationTracker_0( Object parent, Invocation parentInvocation, ) : super( parent, parentInvocation, ); } class _FakeFeeObject_1 extends _i1.SmartFake implements _i3.FeeObject { _FakeFeeObject_1( Object parent, Invocation parentInvocation, ) : super( parent, parentInvocation, ); } class _FakeElectrumX_2 extends _i1.SmartFake implements _i4.ElectrumX { _FakeElectrumX_2( Object parent, Invocation parentInvocation, ) : super( parent, parentInvocation, ); } class _FakeCachedElectrumX_3 extends _i1.SmartFake implements _i5.CachedElectrumX { _FakeCachedElectrumX_3( Object parent, Invocation parentInvocation, ) : super( parent, parentInvocation, ); } class _FakeBalance_4 extends _i1.SmartFake implements _i6.Balance { _FakeBalance_4( Object parent, Invocation parentInvocation, ) : super( parent, parentInvocation, ); } class _FakeMainDB_5 extends _i1.SmartFake implements _i7.MainDB { _FakeMainDB_5( Object parent, Invocation parentInvocation, ) : super( parent, parentInvocation, ); } class _FakeAmount_6 extends _i1.SmartFake implements _i8.Amount { _FakeAmount_6( Object parent, Invocation parentInvocation, ) : super( parent, parentInvocation, ); } class _FakeDecimal_7 extends _i1.SmartFake implements _i9.Decimal { _FakeDecimal_7( Object parent, Invocation parentInvocation, ) : super( parent, parentInvocation, ); } /// A class which mocks [FiroWallet]. /// /// See the documentation for Mockito's code generation for more information. class MockFiroWallet extends _i1.Mock implements _i10.FiroWallet { MockFiroWallet() { _i1.throwOnMissingStub(this); } @override set timer(_i11.Timer? _timer) => super.noSuchMethod( Invocation.setter( #timer, _timer, ), returnValueForMissingStub: null, ); @override _i2.TransactionNotificationTracker get txTracker => (super.noSuchMethod( Invocation.getter(#txTracker), returnValue: _FakeTransactionNotificationTracker_0( this, Invocation.getter(#txTracker), ), ) as _i2.TransactionNotificationTracker); @override set txTracker(_i2.TransactionNotificationTracker? _txTracker) => super.noSuchMethod( Invocation.setter( #txTracker, _txTracker, ), returnValueForMissingStub: null, ); @override bool get refreshMutex => (super.noSuchMethod( Invocation.getter(#refreshMutex), returnValue: false, ) as bool); @override set refreshMutex(bool? _refreshMutex) => super.noSuchMethod( Invocation.setter( #refreshMutex, _refreshMutex, ), returnValueForMissingStub: null, ); @override bool get longMutex => (super.noSuchMethod( Invocation.getter(#longMutex), returnValue: false, ) as bool); @override set longMutex(bool? _longMutex) => super.noSuchMethod( Invocation.setter( #longMutex, _longMutex, ), returnValueForMissingStub: null, ); @override bool get isActive => (super.noSuchMethod( Invocation.getter(#isActive), returnValue: false, ) as bool); @override set isActive(bool? _isActive) => super.noSuchMethod( Invocation.setter( #isActive, _isActive, ), returnValueForMissingStub: null, ); @override bool get shouldAutoSync => (super.noSuchMethod( Invocation.getter(#shouldAutoSync), returnValue: false, ) as bool); @override set shouldAutoSync(bool? shouldAutoSync) => super.noSuchMethod( Invocation.setter( #shouldAutoSync, shouldAutoSync, ), returnValueForMissingStub: null, ); @override set isFavorite(bool? markFavorite) => super.noSuchMethod( Invocation.setter( #isFavorite, markFavorite, ), returnValueForMissingStub: null, ); @override bool get isFavorite => (super.noSuchMethod( Invocation.getter(#isFavorite), returnValue: false, ) as bool); @override _i12.Coin get coin => (super.noSuchMethod( Invocation.getter(#coin), returnValue: _i12.Coin.bitcoin, ) as _i12.Coin); @override _i11.Future> get mnemonic => (super.noSuchMethod( Invocation.getter(#mnemonic), returnValue: _i11.Future>.value([]), ) as _i11.Future>); @override _i11.Future get mnemonicString => (super.noSuchMethod( Invocation.getter(#mnemonicString), returnValue: _i11.Future.value(), ) as _i11.Future); @override _i11.Future get mnemonicPassphrase => (super.noSuchMethod( Invocation.getter(#mnemonicPassphrase), returnValue: _i11.Future.value(), ) as _i11.Future); @override _i11.Future get maxFee => (super.noSuchMethod( Invocation.getter(#maxFee), returnValue: _i11.Future.value(0), ) as _i11.Future); @override _i11.Future<_i3.FeeObject> get fees => (super.noSuchMethod( Invocation.getter(#fees), returnValue: _i11.Future<_i3.FeeObject>.value(_FakeFeeObject_1( this, Invocation.getter(#fees), )), ) as _i11.Future<_i3.FeeObject>); @override _i11.Future get currentReceivingAddress => (super.noSuchMethod( Invocation.getter(#currentReceivingAddress), returnValue: _i11.Future.value(''), ) as _i11.Future); @override _i11.Future get currentChangeAddress => (super.noSuchMethod( Invocation.getter(#currentChangeAddress), returnValue: _i11.Future.value(''), ) as _i11.Future); @override String get walletName => (super.noSuchMethod( Invocation.getter(#walletName), returnValue: '', ) as String); @override set walletName(String? newName) => super.noSuchMethod( Invocation.setter( #walletName, newName, ), returnValueForMissingStub: null, ); @override String get walletId => (super.noSuchMethod( Invocation.getter(#walletId), returnValue: '', ) as String); @override bool get isConnected => (super.noSuchMethod( Invocation.getter(#isConnected), returnValue: false, ) as bool); @override _i4.ElectrumX get electrumXClient => (super.noSuchMethod( Invocation.getter(#electrumXClient), returnValue: _FakeElectrumX_2( this, Invocation.getter(#electrumXClient), ), ) as _i4.ElectrumX); @override _i5.CachedElectrumX get cachedElectrumXClient => (super.noSuchMethod( Invocation.getter(#cachedElectrumXClient), returnValue: _FakeCachedElectrumX_3( this, Invocation.getter(#cachedElectrumXClient), ), ) as _i5.CachedElectrumX); @override bool get isRefreshing => (super.noSuchMethod( Invocation.getter(#isRefreshing), returnValue: false, ) as bool); @override bool get hasCalledExit => (super.noSuchMethod( Invocation.getter(#hasCalledExit), returnValue: false, ) as bool); @override _i11.Future get chainHeight => (super.noSuchMethod( Invocation.getter(#chainHeight), returnValue: _i11.Future.value(0), ) as _i11.Future); @override int get storedChainHeight => (super.noSuchMethod( Invocation.getter(#storedChainHeight), returnValue: 0, ) as int); @override _i6.Balance get balance => (super.noSuchMethod( Invocation.getter(#balance), returnValue: _FakeBalance_4( this, Invocation.getter(#balance), ), ) as _i6.Balance); @override _i6.Balance get balancePrivate => (super.noSuchMethod( Invocation.getter(#balancePrivate), returnValue: _FakeBalance_4( this, Invocation.getter(#balancePrivate), ), ) as _i6.Balance); @override _i11.Future> get utxos => (super.noSuchMethod( Invocation.getter(#utxos), returnValue: _i11.Future>.value(<_i13.UTXO>[]), ) as _i11.Future>); @override _i11.Future> get transactions => (super.noSuchMethod( Invocation.getter(#transactions), returnValue: _i11.Future>.value(<_i13.Transaction>[]), ) as _i11.Future>); @override _i11.Future get xpub => (super.noSuchMethod( Invocation.getter(#xpub), returnValue: _i11.Future.value(''), ) as _i11.Future); @override set onIsActiveWalletChanged(void Function(bool)? _onIsActiveWalletChanged) => super.noSuchMethod( Invocation.setter( #onIsActiveWalletChanged, _onIsActiveWalletChanged, ), returnValueForMissingStub: null, ); @override _i7.MainDB get db => (super.noSuchMethod( Invocation.getter(#db), returnValue: _FakeMainDB_5( this, Invocation.getter(#db), ), ) as _i7.MainDB); @override bool validateAddress(String? address) => (super.noSuchMethod( Invocation.method( #validateAddress, [address], ), returnValue: false, ) as bool); @override _i11.Future updateSentCachedTxData(Map? txData) => (super.noSuchMethod( Invocation.method( #updateSentCachedTxData, [txData], ), returnValue: _i11.Future.value(), returnValueForMissingStub: _i11.Future.value(), ) as _i11.Future); @override _i11.Future testNetworkConnection() => (super.noSuchMethod( Invocation.method( #testNetworkConnection, [], ), returnValue: _i11.Future.value(false), ) as _i11.Future); @override void startNetworkAlivePinging() => super.noSuchMethod( Invocation.method( #startNetworkAlivePinging, [], ), returnValueForMissingStub: null, ); @override void stopNetworkAlivePinging() => super.noSuchMethod( Invocation.method( #stopNetworkAlivePinging, [], ), returnValueForMissingStub: null, ); @override _i11.Future> prepareSendPublic({ required String? address, required _i8.Amount? amount, Map? args, }) => (super.noSuchMethod( Invocation.method( #prepareSendPublic, [], { #address: address, #amount: amount, #args: args, }, ), returnValue: _i11.Future>.value({}), ) as _i11.Future>); @override _i11.Future confirmSendPublic({dynamic txData}) => (super.noSuchMethod( Invocation.method( #confirmSendPublic, [], {#txData: txData}, ), returnValue: _i11.Future.value(''), ) as _i11.Future); @override _i11.Future> prepareSend({ required String? address, required _i8.Amount? amount, Map? args, }) => (super.noSuchMethod( Invocation.method( #prepareSend, [], { #address: address, #amount: amount, #args: args, }, ), returnValue: _i11.Future>.value({}), ) as _i11.Future>); @override _i11.Future confirmSend({required Map? txData}) => (super.noSuchMethod( Invocation.method( #confirmSend, [], {#txData: txData}, ), returnValue: _i11.Future.value(''), ) as _i11.Future); @override int estimateTxFee({ required int? vSize, required int? feeRatePerKB, }) => (super.noSuchMethod( Invocation.method( #estimateTxFee, [], { #vSize: vSize, #feeRatePerKB: feeRatePerKB, }, ), returnValue: 0, ) as int); @override dynamic coinSelection( int? satoshiAmountToSend, int? selectedTxFeeRate, String? _recipientAddress, bool? isSendAll, { int? satsPerVByte, int? additionalOutputs = 0, List<_i13.UTXO>? utxos, }) => super.noSuchMethod(Invocation.method( #coinSelection, [ satoshiAmountToSend, selectedTxFeeRate, _recipientAddress, isSendAll, ], { #satsPerVByte: satsPerVByte, #additionalOutputs: additionalOutputs, #utxos: utxos, }, )); @override _i11.Future> fetchBuildTxData( List<_i13.UTXO>? utxosToUse) => (super.noSuchMethod( Invocation.method( #fetchBuildTxData, [utxosToUse], ), returnValue: _i11.Future>.value(<_i14.SigningData>[]), ) as _i11.Future>); @override _i11.Future> buildTransaction({ required List<_i14.SigningData>? utxoSigningData, required List? recipients, required List? satoshiAmounts, }) => (super.noSuchMethod( Invocation.method( #buildTransaction, [], { #utxoSigningData: utxoSigningData, #recipients: recipients, #satoshiAmounts: satoshiAmounts, }, ), returnValue: _i11.Future>.value({}), ) as _i11.Future>); @override _i11.Future updateNode(bool? shouldRefresh) => (super.noSuchMethod( Invocation.method( #updateNode, [shouldRefresh], ), returnValue: _i11.Future.value(), returnValueForMissingStub: _i11.Future.value(), ) as _i11.Future); @override _i11.Future initializeNew() => (super.noSuchMethod( Invocation.method( #initializeNew, [], ), returnValue: _i11.Future.value(), returnValueForMissingStub: _i11.Future.value(), ) as _i11.Future); @override _i11.Future initializeExisting() => (super.noSuchMethod( Invocation.method( #initializeExisting, [], ), returnValue: _i11.Future.value(), returnValueForMissingStub: _i11.Future.value(), ) as _i11.Future); @override _i11.Future refreshIfThereIsNewData() => (super.noSuchMethod( Invocation.method( #refreshIfThereIsNewData, [], ), returnValue: _i11.Future.value(false), ) as _i11.Future); @override _i11.Future getAllTxsToWatch() => (super.noSuchMethod( Invocation.method( #getAllTxsToWatch, [], ), returnValue: _i11.Future.value(), returnValueForMissingStub: _i11.Future.value(), ) as _i11.Future); @override _i11.Future refresh() => (super.noSuchMethod( Invocation.method( #refresh, [], ), returnValue: _i11.Future.value(), returnValueForMissingStub: _i11.Future.value(), ) as _i11.Future); @override _i11.Future anonymizeAllPublicFunds() => (super.noSuchMethod( Invocation.method( #anonymizeAllPublicFunds, [], ), returnValue: _i11.Future.value(), returnValueForMissingStub: _i11.Future.value(), ) as _i11.Future); @override _i11.Future>> createMintsFromAmount(int? total) => (super.noSuchMethod( Invocation.method( #createMintsFromAmount, [total], ), returnValue: _i11.Future>>.value( >[]), ) as _i11.Future>>); @override _i11.Future submitHexToNetwork(String? hex) => (super.noSuchMethod( Invocation.method( #submitHexToNetwork, [hex], ), returnValue: _i11.Future.value(''), ) as _i11.Future); @override _i11.Future> buildMintTransaction( List<_i13.UTXO>? utxosToUse, int? satoshisPerRecipient, List>? mintsMap, ) => (super.noSuchMethod( Invocation.method( #buildMintTransaction, [ utxosToUse, satoshisPerRecipient, mintsMap, ], ), returnValue: _i11.Future>.value({}), ) as _i11.Future>); @override _i11.Future checkReceivingAddressForTransactions() => (super.noSuchMethod( Invocation.method( #checkReceivingAddressForTransactions, [], ), returnValue: _i11.Future.value(), returnValueForMissingStub: _i11.Future.value(), ) as _i11.Future); @override _i11.Future checkChangeAddressForTransactions() => (super.noSuchMethod( Invocation.method( #checkChangeAddressForTransactions, [], ), returnValue: _i11.Future.value(), returnValueForMissingStub: _i11.Future.value(), ) as _i11.Future); @override _i11.Future fullRescan( int? maxUnusedAddressGap, int? maxNumberOfIndexesToCheck, ) => (super.noSuchMethod( Invocation.method( #fullRescan, [ maxUnusedAddressGap, maxNumberOfIndexesToCheck, ], ), returnValue: _i11.Future.value(), returnValueForMissingStub: _i11.Future.value(), ) as _i11.Future); @override _i11.Future recoverFromMnemonic({ required String? mnemonic, String? mnemonicPassphrase, required int? maxUnusedAddressGap, required int? maxNumberOfIndexesToCheck, required int? height, }) => (super.noSuchMethod( Invocation.method( #recoverFromMnemonic, [], { #mnemonic: mnemonic, #mnemonicPassphrase: mnemonicPassphrase, #maxUnusedAddressGap: maxUnusedAddressGap, #maxNumberOfIndexesToCheck: maxNumberOfIndexesToCheck, #height: height, }, ), returnValue: _i11.Future.value(), returnValueForMissingStub: _i11.Future.value(), ) as _i11.Future); @override _i11.Future> getSetDataMap(int? latestSetId) => (super.noSuchMethod( Invocation.method( #getSetDataMap, [latestSetId], ), returnValue: _i11.Future>.value({}), ) as _i11.Future>); @override _i11.Future getTransactionCacheEarly(List? allAddresses) => (super.noSuchMethod( Invocation.method( #getTransactionCacheEarly, [allAddresses], ), returnValue: _i11.Future.value(), returnValueForMissingStub: _i11.Future.value(), ) as _i11.Future); @override _i11.Future>> fetchAnonymitySets() => (super.noSuchMethod( Invocation.method( #fetchAnonymitySets, [], ), returnValue: _i11.Future>>.value( >[]), ) as _i11.Future>>); @override _i11.Future getLatestSetId() => (super.noSuchMethod( Invocation.method( #getLatestSetId, [], ), returnValue: _i11.Future.value(0), ) as _i11.Future); @override _i11.Future> getUsedCoinSerials() => (super.noSuchMethod( Invocation.method( #getUsedCoinSerials, [], ), returnValue: _i11.Future>.value([]), ) as _i11.Future>); @override _i11.Future exit() => (super.noSuchMethod( Invocation.method( #exit, [], ), returnValue: _i11.Future.value(), returnValueForMissingStub: _i11.Future.value(), ) as _i11.Future); @override _i11.Future getCoinsToJoinSplit(int? required) => (super.noSuchMethod( Invocation.method( #getCoinsToJoinSplit, [required], ), returnValue: _i11.Future.value(), ) as _i11.Future); @override _i11.Future estimateJoinSplitFee(int? spendAmount) => (super.noSuchMethod( Invocation.method( #estimateJoinSplitFee, [spendAmount], ), returnValue: _i11.Future.value(0), ) as _i11.Future); @override _i11.Future<_i8.Amount> estimateFeeFor( _i8.Amount? amount, int? feeRate, ) => (super.noSuchMethod( Invocation.method( #estimateFeeFor, [ amount, feeRate, ], ), returnValue: _i11.Future<_i8.Amount>.value(_FakeAmount_6( this, Invocation.method( #estimateFeeFor, [ amount, feeRate, ], ), )), ) as _i11.Future<_i8.Amount>); @override _i11.Future<_i8.Amount> estimateFeeForPublic( _i8.Amount? amount, int? feeRate, ) => (super.noSuchMethod( Invocation.method( #estimateFeeForPublic, [ amount, feeRate, ], ), returnValue: _i11.Future<_i8.Amount>.value(_FakeAmount_6( this, Invocation.method( #estimateFeeForPublic, [ amount, feeRate, ], ), )), ) as _i11.Future<_i8.Amount>); @override _i8.Amount roughFeeEstimate( int? inputCount, int? outputCount, int? feeRatePerKB, ) => (super.noSuchMethod( Invocation.method( #roughFeeEstimate, [ inputCount, outputCount, feeRatePerKB, ], ), returnValue: _FakeAmount_6( this, Invocation.method( #roughFeeEstimate, [ inputCount, outputCount, feeRatePerKB, ], ), ), ) as _i8.Amount); @override _i11.Future<_i8.Amount> sweepAllEstimate(int? feeRate) => (super.noSuchMethod( Invocation.method( #sweepAllEstimate, [feeRate], ), returnValue: _i11.Future<_i8.Amount>.value(_FakeAmount_6( this, Invocation.method( #sweepAllEstimate, [feeRate], ), )), ) as _i11.Future<_i8.Amount>); @override _i11.Future>> fastFetch( List? allTxHashes) => (super.noSuchMethod( Invocation.method( #fastFetch, [allTxHashes], ), returnValue: _i11.Future>>.value( >[]), ) as _i11.Future>>); @override _i11.Future> getJMintTransactions( _i5.CachedElectrumX? cachedClient, List? transactions, _i12.Coin? coin, ) => (super.noSuchMethod( Invocation.method( #getJMintTransactions, [ cachedClient, transactions, coin, ], ), returnValue: _i11.Future>.value( <_i13.Address, _i13.Transaction>{}), ) as _i11.Future>); @override _i11.Future generateNewAddress() => (super.noSuchMethod( Invocation.method( #generateNewAddress, [], ), returnValue: _i11.Future.value(false), ) as _i11.Future); @override _i8.Amount availablePrivateBalance() => (super.noSuchMethod( Invocation.method( #availablePrivateBalance, [], ), returnValue: _FakeAmount_6( this, Invocation.method( #availablePrivateBalance, [], ), ), ) as _i8.Amount); @override _i8.Amount availablePublicBalance() => (super.noSuchMethod( Invocation.method( #availablePublicBalance, [], ), returnValue: _FakeAmount_6( this, Invocation.method( #availablePublicBalance, [], ), ), ) as _i8.Amount); @override void initCache( String? walletId, _i12.Coin? coin, ) => super.noSuchMethod( Invocation.method( #initCache, [ walletId, coin, ], ), returnValueForMissingStub: null, ); @override _i11.Future updateCachedId(String? id) => (super.noSuchMethod( Invocation.method( #updateCachedId, [id], ), returnValue: _i11.Future.value(), returnValueForMissingStub: _i11.Future.value(), ) as _i11.Future); @override int getCachedChainHeight() => (super.noSuchMethod( Invocation.method( #getCachedChainHeight, [], ), returnValue: 0, ) as int); @override _i11.Future updateCachedChainHeight(int? height) => (super.noSuchMethod( Invocation.method( #updateCachedChainHeight, [height], ), returnValue: _i11.Future.value(), returnValueForMissingStub: _i11.Future.value(), ) as _i11.Future); @override bool getCachedIsFavorite() => (super.noSuchMethod( Invocation.method( #getCachedIsFavorite, [], ), returnValue: false, ) as bool); @override _i11.Future updateCachedIsFavorite(bool? isFavorite) => (super.noSuchMethod( Invocation.method( #updateCachedIsFavorite, [isFavorite], ), returnValue: _i11.Future.value(), returnValueForMissingStub: _i11.Future.value(), ) as _i11.Future); @override _i6.Balance getCachedBalance() => (super.noSuchMethod( Invocation.method( #getCachedBalance, [], ), returnValue: _FakeBalance_4( this, Invocation.method( #getCachedBalance, [], ), ), ) as _i6.Balance); @override _i11.Future updateCachedBalance(_i6.Balance? balance) => (super.noSuchMethod( Invocation.method( #updateCachedBalance, [balance], ), returnValue: _i11.Future.value(), returnValueForMissingStub: _i11.Future.value(), ) as _i11.Future); @override _i6.Balance getCachedBalanceSecondary() => (super.noSuchMethod( Invocation.method( #getCachedBalanceSecondary, [], ), returnValue: _FakeBalance_4( this, Invocation.method( #getCachedBalanceSecondary, [], ), ), ) as _i6.Balance); @override _i11.Future updateCachedBalanceSecondary(_i6.Balance? balance) => (super.noSuchMethod( Invocation.method( #updateCachedBalanceSecondary, [balance], ), returnValue: _i11.Future.value(), returnValueForMissingStub: _i11.Future.value(), ) as _i11.Future); @override List getWalletTokenContractAddresses() => (super.noSuchMethod( Invocation.method( #getWalletTokenContractAddresses, [], ), returnValue: [], ) as List); @override _i11.Future updateWalletTokenContractAddresses( List? contractAddresses) => (super.noSuchMethod( Invocation.method( #updateWalletTokenContractAddresses, [contractAddresses], ), returnValue: _i11.Future.value(), returnValueForMissingStub: _i11.Future.value(), ) as _i11.Future); @override void initWalletDB({_i7.MainDB? mockableOverride}) => super.noSuchMethod( Invocation.method( #initWalletDB, [], {#mockableOverride: mockableOverride}, ), returnValueForMissingStub: null, ); } /// A class which mocks [ElectrumX]. /// /// See the documentation for Mockito's code generation for more information. class MockElectrumX extends _i1.Mock implements _i4.ElectrumX { MockElectrumX() { _i1.throwOnMissingStub(this); } @override set failovers(List<_i4.ElectrumXNode>? _failovers) => super.noSuchMethod( Invocation.setter( #failovers, _failovers, ), returnValueForMissingStub: null, ); @override int get currentFailoverIndex => (super.noSuchMethod( Invocation.getter(#currentFailoverIndex), returnValue: 0, ) as int); @override set currentFailoverIndex(int? _currentFailoverIndex) => super.noSuchMethod( Invocation.setter( #currentFailoverIndex, _currentFailoverIndex, ), returnValueForMissingStub: null, ); @override String get host => (super.noSuchMethod( Invocation.getter(#host), returnValue: '', ) as String); @override int get port => (super.noSuchMethod( Invocation.getter(#port), returnValue: 0, ) as int); @override bool get useSSL => (super.noSuchMethod( Invocation.getter(#useSSL), returnValue: false, ) as bool); @override _i11.Future request({ required String? command, List? args = const [], Duration? connectionTimeout = const Duration(seconds: 60), String? requestID, int? retries = 2, }) => (super.noSuchMethod( Invocation.method( #request, [], { #command: command, #args: args, #connectionTimeout: connectionTimeout, #requestID: requestID, #retries: retries, }, ), returnValue: _i11.Future.value(), ) as _i11.Future); @override _i11.Future>> batchRequest({ required String? command, required Map>? args, Duration? connectionTimeout = const Duration(seconds: 60), int? retries = 2, }) => (super.noSuchMethod( Invocation.method( #batchRequest, [], { #command: command, #args: args, #connectionTimeout: connectionTimeout, #retries: retries, }, ), returnValue: _i11.Future>>.value( >[]), ) as _i11.Future>>); @override _i11.Future ping({ String? requestID, int? retryCount = 1, }) => (super.noSuchMethod( Invocation.method( #ping, [], { #requestID: requestID, #retryCount: retryCount, }, ), returnValue: _i11.Future.value(false), ) as _i11.Future); @override _i11.Future> getBlockHeadTip({String? requestID}) => (super.noSuchMethod( Invocation.method( #getBlockHeadTip, [], {#requestID: requestID}, ), returnValue: _i11.Future>.value({}), ) as _i11.Future>); @override _i11.Future> getServerFeatures({String? requestID}) => (super.noSuchMethod( Invocation.method( #getServerFeatures, [], {#requestID: requestID}, ), returnValue: _i11.Future>.value({}), ) as _i11.Future>); @override _i11.Future broadcastTransaction({ required String? rawTx, String? requestID, }) => (super.noSuchMethod( Invocation.method( #broadcastTransaction, [], { #rawTx: rawTx, #requestID: requestID, }, ), returnValue: _i11.Future.value(''), ) as _i11.Future); @override _i11.Future> getBalance({ required String? scripthash, String? requestID, }) => (super.noSuchMethod( Invocation.method( #getBalance, [], { #scripthash: scripthash, #requestID: requestID, }, ), returnValue: _i11.Future>.value({}), ) as _i11.Future>); @override _i11.Future>> getHistory({ required String? scripthash, String? requestID, }) => (super.noSuchMethod( Invocation.method( #getHistory, [], { #scripthash: scripthash, #requestID: requestID, }, ), returnValue: _i11.Future>>.value( >[]), ) as _i11.Future>>); @override _i11.Future>>> getBatchHistory( {required Map>? args}) => (super.noSuchMethod( Invocation.method( #getBatchHistory, [], {#args: args}, ), returnValue: _i11.Future>>>.value( >>{}), ) as _i11.Future>>>); @override _i11.Future>> getUTXOs({ required String? scripthash, String? requestID, }) => (super.noSuchMethod( Invocation.method( #getUTXOs, [], { #scripthash: scripthash, #requestID: requestID, }, ), returnValue: _i11.Future>>.value( >[]), ) as _i11.Future>>); @override _i11.Future>>> getBatchUTXOs( {required Map>? args}) => (super.noSuchMethod( Invocation.method( #getBatchUTXOs, [], {#args: args}, ), returnValue: _i11.Future>>>.value( >>{}), ) as _i11.Future>>>); @override _i11.Future> getTransaction({ required String? txHash, bool? verbose = true, String? requestID, }) => (super.noSuchMethod( Invocation.method( #getTransaction, [], { #txHash: txHash, #verbose: verbose, #requestID: requestID, }, ), returnValue: _i11.Future>.value({}), ) as _i11.Future>); @override _i11.Future> getAnonymitySet({ String? groupId = r'1', String? blockhash = r'', String? requestID, }) => (super.noSuchMethod( Invocation.method( #getAnonymitySet, [], { #groupId: groupId, #blockhash: blockhash, #requestID: requestID, }, ), returnValue: _i11.Future>.value({}), ) as _i11.Future>); @override _i11.Future getMintData({ dynamic mints, String? requestID, }) => (super.noSuchMethod( Invocation.method( #getMintData, [], { #mints: mints, #requestID: requestID, }, ), returnValue: _i11.Future.value(), ) as _i11.Future); @override _i11.Future> getUsedCoinSerials({ String? requestID, required int? startNumber, }) => (super.noSuchMethod( Invocation.method( #getUsedCoinSerials, [], { #requestID: requestID, #startNumber: startNumber, }, ), returnValue: _i11.Future>.value({}), ) as _i11.Future>); @override _i11.Future getLatestCoinId({String? requestID}) => (super.noSuchMethod( Invocation.method( #getLatestCoinId, [], {#requestID: requestID}, ), returnValue: _i11.Future.value(0), ) as _i11.Future); @override _i11.Future> getFeeRate({String? requestID}) => (super.noSuchMethod( Invocation.method( #getFeeRate, [], {#requestID: requestID}, ), returnValue: _i11.Future>.value({}), ) as _i11.Future>); @override _i11.Future<_i9.Decimal> estimateFee({ String? requestID, required int? blocks, }) => (super.noSuchMethod( Invocation.method( #estimateFee, [], { #requestID: requestID, #blocks: blocks, }, ), returnValue: _i11.Future<_i9.Decimal>.value(_FakeDecimal_7( this, Invocation.method( #estimateFee, [], { #requestID: requestID, #blocks: blocks, }, ), )), ) as _i11.Future<_i9.Decimal>); @override _i11.Future<_i9.Decimal> relayFee({String? requestID}) => (super.noSuchMethod( Invocation.method( #relayFee, [], {#requestID: requestID}, ), returnValue: _i11.Future<_i9.Decimal>.value(_FakeDecimal_7( this, Invocation.method( #relayFee, [], {#requestID: requestID}, ), )), ) as _i11.Future<_i9.Decimal>); }