blob: 97e0a9dba40d21b8e9117923d5af1b69aa3e9274 [file] [log] [blame]
// Mocks generated by Mockito 5.4.0 from annotations
// in local_auth_ios/test/local_auth_ios_test.dart.
// Do not manually edit this file.
// ignore_for_file: no_leading_underscores_for_library_prefixes
import 'dart:async' as _i3;
import 'package:local_auth_ios/src/messages.g.dart' as _i2;
import 'package:mockito/mockito.dart' as _i1;
// 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 _FakeAuthResultDetails_0 extends _i1.SmartFake
implements _i2.AuthResultDetails {
_FakeAuthResultDetails_0(
Object parent,
Invocation parentInvocation,
) : super(
parent,
parentInvocation,
);
}
/// A class which mocks [LocalAuthApi].
///
/// See the documentation for Mockito's code generation for more information.
class MockLocalAuthApi extends _i1.Mock implements _i2.LocalAuthApi {
MockLocalAuthApi() {
_i1.throwOnMissingStub(this);
}
@override
_i3.Future<bool> isDeviceSupported() => (super.noSuchMethod(
Invocation.method(
#isDeviceSupported,
[],
),
returnValue: _i3.Future<bool>.value(false),
) as _i3.Future<bool>);
@override
_i3.Future<bool> deviceCanSupportBiometrics() => (super.noSuchMethod(
Invocation.method(
#deviceCanSupportBiometrics,
[],
),
returnValue: _i3.Future<bool>.value(false),
) as _i3.Future<bool>);
@override
_i3.Future<List<_i2.AuthBiometricWrapper?>> getEnrolledBiometrics() =>
(super.noSuchMethod(
Invocation.method(
#getEnrolledBiometrics,
[],
),
returnValue: _i3.Future<List<_i2.AuthBiometricWrapper?>>.value(
<_i2.AuthBiometricWrapper?>[]),
) as _i3.Future<List<_i2.AuthBiometricWrapper?>>);
@override
_i3.Future<_i2.AuthResultDetails> authenticate(
_i2.AuthOptions? arg_options,
_i2.AuthStrings? arg_strings,
) =>
(super.noSuchMethod(
Invocation.method(
#authenticate,
[
arg_options,
arg_strings,
],
),
returnValue:
_i3.Future<_i2.AuthResultDetails>.value(_FakeAuthResultDetails_0(
this,
Invocation.method(
#authenticate,
[
arg_options,
arg_strings,
],
),
)),
) as _i3.Future<_i2.AuthResultDetails>);
}