stack_wallet/test/services/wallets_service_test.mocks.dart

135 lines
3.9 KiB
Dart
Raw Normal View History

// Mocks generated by Mockito 5.3.2 from annotations
2022-08-26 08:11:35 +00:00
// in stackwallet/test/services/wallets_service_test.dart.
// Do not manually edit this file.
// ignore_for_file: no_leading_underscores_for_library_prefixes
2022-08-26 08:11:35 +00:00
import 'dart:async' as _i4;
import 'package:flutter_secure_storage/flutter_secure_storage.dart' as _i2;
import 'package:mockito/mockito.dart' as _i1;
import 'package:stackwallet/utilities/flutter_secure_storage_interface.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: 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
2022-08-26 08:11:35 +00:00
class _FakeFlutterSecureStorage_0 extends _i1.SmartFake
implements _i2.FlutterSecureStorage {
_FakeFlutterSecureStorage_0(
Object parent,
Invocation parentInvocation,
) : super(
parent,
parentInvocation,
);
}
2022-08-26 08:11:35 +00:00
/// A class which mocks [SecureStorageWrapper].
///
/// See the documentation for Mockito's code generation for more information.
class MockSecureStorageWrapper extends _i1.Mock
implements _i3.SecureStorageWrapper {
MockSecureStorageWrapper() {
_i1.throwOnMissingStub(this);
}
@override
2022-11-09 22:43:26 +00:00
_i2.FlutterSecureStorage get _secureStore => (super.noSuchMethod(
Invocation.getter(#secureStore),
returnValue: _FakeFlutterSecureStorage_0(
this,
Invocation.getter(#secureStore),
),
) as _i2.FlutterSecureStorage);
2022-08-26 08:11:35 +00:00
@override
_i4.Future<String?> read({
required String? key,
_i2.IOSOptions? iOptions,
_i2.AndroidOptions? aOptions,
_i2.LinuxOptions? lOptions,
_i2.WebOptions? webOptions,
_i2.MacOsOptions? mOptions,
_i2.WindowsOptions? wOptions,
}) =>
2022-08-26 08:11:35 +00:00
(super.noSuchMethod(
Invocation.method(
#read,
[],
{
2022-08-26 08:11:35 +00:00
#key: key,
#iOptions: iOptions,
#aOptions: aOptions,
#lOptions: lOptions,
#webOptions: webOptions,
#mOptions: mOptions,
#wOptions: wOptions,
},
),
returnValue: _i4.Future<String?>.value(),
) as _i4.Future<String?>);
2022-08-26 08:11:35 +00:00
@override
_i4.Future<void> write({
required String? key,
required String? value,
_i2.IOSOptions? iOptions,
_i2.AndroidOptions? aOptions,
_i2.LinuxOptions? lOptions,
_i2.WebOptions? webOptions,
_i2.MacOsOptions? mOptions,
_i2.WindowsOptions? wOptions,
}) =>
2022-08-26 08:11:35 +00:00
(super.noSuchMethod(
Invocation.method(
#write,
[],
{
2022-08-26 08:11:35 +00:00
#key: key,
#value: value,
#iOptions: iOptions,
#aOptions: aOptions,
#lOptions: lOptions,
#webOptions: webOptions,
#mOptions: mOptions,
#wOptions: wOptions,
},
),
returnValue: _i4.Future<void>.value(),
returnValueForMissingStub: _i4.Future<void>.value(),
) as _i4.Future<void>);
2022-08-26 08:11:35 +00:00
@override
_i4.Future<void> delete({
required String? key,
_i2.IOSOptions? iOptions,
_i2.AndroidOptions? aOptions,
_i2.LinuxOptions? lOptions,
_i2.WebOptions? webOptions,
_i2.MacOsOptions? mOptions,
_i2.WindowsOptions? wOptions,
}) =>
2022-08-26 08:11:35 +00:00
(super.noSuchMethod(
Invocation.method(
#delete,
[],
{
2022-08-26 08:11:35 +00:00
#key: key,
#iOptions: iOptions,
#aOptions: aOptions,
#lOptions: lOptions,
#webOptions: webOptions,
#mOptions: mOptions,
#wOptions: wOptions,
},
),
returnValue: _i4.Future<void>.value(),
returnValueForMissingStub: _i4.Future<void>.value(),
) as _i4.Future<void>);
2022-08-26 08:11:35 +00:00
}