blob: 30c420d7ad07fc7ed4c7ae0483890a5db05fcfdf [file] [log] [blame]
// Mocks generated by Mockito 5.4.1 from annotations
// in google_sign_in_ios/test/google_sign_in_ios_test.dart.
// Do not manually edit this file.
// @dart=2.19
// ignore_for_file: no_leading_underscores_for_library_prefixes
import 'dart:async' as _i3;
import 'package:google_sign_in_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 _FakeUserData_0 extends _i1.SmartFake implements _i2.UserData {
_FakeUserData_0(
Object parent,
Invocation parentInvocation,
) : super(
parent,
parentInvocation,
);
}
class _FakeTokenData_1 extends _i1.SmartFake implements _i2.TokenData {
_FakeTokenData_1(
Object parent,
Invocation parentInvocation,
) : super(
parent,
parentInvocation,
);
}
/// A class which mocks [GoogleSignInApi].
///
/// See the documentation for Mockito's code generation for more information.
class MockGoogleSignInApi extends _i1.Mock implements _i2.GoogleSignInApi {
MockGoogleSignInApi() {
_i1.throwOnMissingStub(this);
}
@override
_i3.Future<void> init(_i2.InitParams? arg_params) => (super.noSuchMethod(
Invocation.method(
#init,
[arg_params],
),
returnValue: _i3.Future<void>.value(),
returnValueForMissingStub: _i3.Future<void>.value(),
) as _i3.Future<void>);
@override
_i3.Future<_i2.UserData> signInSilently() => (super.noSuchMethod(
Invocation.method(
#signInSilently,
[],
),
returnValue: _i3.Future<_i2.UserData>.value(_FakeUserData_0(
this,
Invocation.method(
#signInSilently,
[],
),
)),
) as _i3.Future<_i2.UserData>);
@override
_i3.Future<_i2.UserData> signIn() => (super.noSuchMethod(
Invocation.method(
#signIn,
[],
),
returnValue: _i3.Future<_i2.UserData>.value(_FakeUserData_0(
this,
Invocation.method(
#signIn,
[],
),
)),
) as _i3.Future<_i2.UserData>);
@override
_i3.Future<_i2.TokenData> getAccessToken() => (super.noSuchMethod(
Invocation.method(
#getAccessToken,
[],
),
returnValue: _i3.Future<_i2.TokenData>.value(_FakeTokenData_1(
this,
Invocation.method(
#getAccessToken,
[],
),
)),
) as _i3.Future<_i2.TokenData>);
@override
_i3.Future<void> signOut() => (super.noSuchMethod(
Invocation.method(
#signOut,
[],
),
returnValue: _i3.Future<void>.value(),
returnValueForMissingStub: _i3.Future<void>.value(),
) as _i3.Future<void>);
@override
_i3.Future<void> disconnect() => (super.noSuchMethod(
Invocation.method(
#disconnect,
[],
),
returnValue: _i3.Future<void>.value(),
returnValueForMissingStub: _i3.Future<void>.value(),
) as _i3.Future<void>);
@override
_i3.Future<bool> isSignedIn() => (super.noSuchMethod(
Invocation.method(
#isSignedIn,
[],
),
returnValue: _i3.Future<bool>.value(false),
) as _i3.Future<bool>);
@override
_i3.Future<bool> requestScopes(List<String?>? arg_scopes) =>
(super.noSuchMethod(
Invocation.method(
#requestScopes,
[arg_scopes],
),
returnValue: _i3.Future<bool>.value(false),
) as _i3.Future<bool>);
}