2023-07-27 21:08:43 +00:00
|
|
|
// Mocks generated by Mockito 5.4.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.
|
|
|
|
|
2022-10-16 06:50:10 +00:00
|
|
|
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
2022-11-09 23:48:43 +00:00
|
|
|
import 'dart:async' as _i3;
|
2022-08-26 08:11:35 +00:00
|
|
|
|
2022-11-09 23:48:43 +00:00
|
|
|
import 'package:flutter_secure_storage/flutter_secure_storage.dart' as _i4;
|
2022-08-26 08:11:35 +00:00
|
|
|
import 'package:mockito/mockito.dart' as _i1;
|
|
|
|
import 'package:stackwallet/utilities/flutter_secure_storage_interface.dart'
|
2022-11-09 23:48:43 +00:00
|
|
|
as _i2;
|
2022-08-26 08:11:35 +00:00
|
|
|
|
|
|
|
// 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
|
2022-10-16 06:50:10 +00:00
|
|
|
// ignore_for_file: subtype_of_sealed_class
|
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
|
2022-11-09 23:48:43 +00:00
|
|
|
implements _i2.SecureStorageWrapper {
|
2022-08-26 08:11:35 +00:00
|
|
|
MockSecureStorageWrapper() {
|
|
|
|
_i1.throwOnMissingStub(this);
|
|
|
|
}
|
|
|
|
|
2023-02-03 19:22:21 +00:00
|
|
|
@override
|
|
|
|
_i3.Future<List<String>> get keys => (super.noSuchMethod(
|
|
|
|
Invocation.getter(#keys),
|
|
|
|
returnValue: _i3.Future<List<String>>.value(<String>[]),
|
|
|
|
) as _i3.Future<List<String>>);
|
2022-08-26 08:11:35 +00:00
|
|
|
@override
|
2022-11-09 23:48:43 +00:00
|
|
|
_i3.Future<String?> read({
|
2022-10-16 06:50:10 +00:00
|
|
|
required String? key,
|
2022-11-09 23:48:43 +00:00
|
|
|
_i4.IOSOptions? iOptions,
|
|
|
|
_i4.AndroidOptions? aOptions,
|
|
|
|
_i4.LinuxOptions? lOptions,
|
|
|
|
_i4.WebOptions? webOptions,
|
|
|
|
_i4.MacOsOptions? mOptions,
|
|
|
|
_i4.WindowsOptions? wOptions,
|
2022-10-16 06:50:10 +00:00
|
|
|
}) =>
|
2022-08-26 08:11:35 +00:00
|
|
|
(super.noSuchMethod(
|
2022-10-16 06:50:10 +00:00
|
|
|
Invocation.method(
|
|
|
|
#read,
|
|
|
|
[],
|
|
|
|
{
|
2022-08-26 08:11:35 +00:00
|
|
|
#key: key,
|
|
|
|
#iOptions: iOptions,
|
|
|
|
#aOptions: aOptions,
|
|
|
|
#lOptions: lOptions,
|
|
|
|
#webOptions: webOptions,
|
|
|
|
#mOptions: mOptions,
|
2022-10-16 06:50:10 +00:00
|
|
|
#wOptions: wOptions,
|
|
|
|
},
|
|
|
|
),
|
2022-11-09 23:48:43 +00:00
|
|
|
returnValue: _i3.Future<String?>.value(),
|
|
|
|
) as _i3.Future<String?>);
|
2022-08-26 08:11:35 +00:00
|
|
|
@override
|
2022-11-09 23:48:43 +00:00
|
|
|
_i3.Future<void> write({
|
2022-10-16 06:50:10 +00:00
|
|
|
required String? key,
|
|
|
|
required String? value,
|
2022-11-09 23:48:43 +00:00
|
|
|
_i4.IOSOptions? iOptions,
|
|
|
|
_i4.AndroidOptions? aOptions,
|
|
|
|
_i4.LinuxOptions? lOptions,
|
|
|
|
_i4.WebOptions? webOptions,
|
|
|
|
_i4.MacOsOptions? mOptions,
|
|
|
|
_i4.WindowsOptions? wOptions,
|
2022-10-16 06:50:10 +00:00
|
|
|
}) =>
|
2022-08-26 08:11:35 +00:00
|
|
|
(super.noSuchMethod(
|
2022-10-16 06:50:10 +00:00
|
|
|
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,
|
2022-10-16 06:50:10 +00:00
|
|
|
#wOptions: wOptions,
|
|
|
|
},
|
|
|
|
),
|
2022-11-09 23:48:43 +00:00
|
|
|
returnValue: _i3.Future<void>.value(),
|
|
|
|
returnValueForMissingStub: _i3.Future<void>.value(),
|
|
|
|
) as _i3.Future<void>);
|
2022-08-26 08:11:35 +00:00
|
|
|
@override
|
2022-11-09 23:48:43 +00:00
|
|
|
_i3.Future<void> delete({
|
2022-10-16 06:50:10 +00:00
|
|
|
required String? key,
|
2022-11-09 23:48:43 +00:00
|
|
|
_i4.IOSOptions? iOptions,
|
|
|
|
_i4.AndroidOptions? aOptions,
|
|
|
|
_i4.LinuxOptions? lOptions,
|
|
|
|
_i4.WebOptions? webOptions,
|
|
|
|
_i4.MacOsOptions? mOptions,
|
|
|
|
_i4.WindowsOptions? wOptions,
|
2022-10-16 06:50:10 +00:00
|
|
|
}) =>
|
2022-08-26 08:11:35 +00:00
|
|
|
(super.noSuchMethod(
|
2022-10-16 06:50:10 +00:00
|
|
|
Invocation.method(
|
|
|
|
#delete,
|
|
|
|
[],
|
|
|
|
{
|
2022-08-26 08:11:35 +00:00
|
|
|
#key: key,
|
|
|
|
#iOptions: iOptions,
|
|
|
|
#aOptions: aOptions,
|
|
|
|
#lOptions: lOptions,
|
|
|
|
#webOptions: webOptions,
|
|
|
|
#mOptions: mOptions,
|
2022-10-16 06:50:10 +00:00
|
|
|
#wOptions: wOptions,
|
|
|
|
},
|
|
|
|
),
|
2022-11-09 23:48:43 +00:00
|
|
|
returnValue: _i3.Future<void>.value(),
|
|
|
|
returnValueForMissingStub: _i3.Future<void>.value(),
|
|
|
|
) as _i3.Future<void>);
|
2023-01-10 16:02:54 +00:00
|
|
|
@override
|
|
|
|
_i3.Future<void> deleteAll({
|
|
|
|
_i4.IOSOptions? iOptions,
|
|
|
|
_i4.AndroidOptions? aOptions,
|
|
|
|
_i4.LinuxOptions? lOptions,
|
|
|
|
_i4.WebOptions? webOptions,
|
|
|
|
_i4.MacOsOptions? mOptions,
|
|
|
|
_i4.WindowsOptions? wOptions,
|
|
|
|
}) =>
|
|
|
|
(super.noSuchMethod(
|
|
|
|
Invocation.method(
|
|
|
|
#deleteAll,
|
|
|
|
[],
|
|
|
|
{
|
|
|
|
#iOptions: iOptions,
|
|
|
|
#aOptions: aOptions,
|
|
|
|
#lOptions: lOptions,
|
|
|
|
#webOptions: webOptions,
|
|
|
|
#mOptions: mOptions,
|
|
|
|
#wOptions: wOptions,
|
|
|
|
},
|
|
|
|
),
|
|
|
|
returnValue: _i3.Future<void>.value(),
|
|
|
|
returnValueForMissingStub: _i3.Future<void>.value(),
|
|
|
|
) as _i3.Future<void>);
|
2022-08-26 08:11:35 +00:00
|
|
|
}
|