Line data Source code
1 : // Mocks generated by Mockito 5.0.16 from annotations
2 : // in redfire_test/src/test-doubles/config/redfire_config.dart.
3 : // Do not manually edit this file.
4 :
5 : import 'package:firebase_core/firebase_core.dart' as _i2;
6 : import 'package:mockito/mockito.dart' as _i1;
7 : import 'package:redfire/src/utils/auth_options.dart' as _i3;
8 : import 'package:redfire/src/utils/red_fire_config.dart' as _i4;
9 :
10 : // ignore_for_file: avoid_redundant_argument_values
11 : // ignore_for_file: avoid_setters_without_getters
12 : // ignore_for_file: comment_references
13 : // ignore_for_file: implementation_imports
14 : // ignore_for_file: invalid_use_of_visible_for_testing_member
15 : // ignore_for_file: prefer_const_constructors
16 : // ignore_for_file: unnecessary_parenthesis
17 : // ignore_for_file: camel_case_types
18 :
19 : class _FakeFirebaseOptions_0 extends _i1.Fake implements _i2.FirebaseOptions {}
20 :
21 : class _FakeAuthOptions_1 extends _i1.Fake implements _i3.AuthOptions {}
22 :
23 : /// A class which mocks [RedFireConfig].
24 : ///
25 : /// See the documentation for Mockito's code generation for more information.
26 : class MockRedFireConfig extends _i1.Mock implements _i4.RedFireConfig {
27 0 : MockRedFireConfig() {
28 0 : _i1.throwOnMissingStub(this);
29 : }
30 :
31 0 : @override
32 : _i2.FirebaseOptions get firebase =>
33 0 : (super.noSuchMethod(Invocation.getter(#firebase),
34 0 : returnValue: _FakeFirebaseOptions_0()) as _i2.FirebaseOptions);
35 0 : @override
36 0 : _i3.AuthOptions get auth => (super.noSuchMethod(Invocation.getter(#auth),
37 0 : returnValue: _FakeAuthOptions_1()) as _i3.AuthOptions);
38 0 : @override
39 0 : String toString() => super.toString();
40 : }
41 :
42 : /// A class which mocks [FirebaseOptions].
43 : ///
44 : /// See the documentation for Mockito's code generation for more information.
45 : // ignore: must_be_immutable
46 : class MockFirebaseOptions extends _i1.Mock implements _i2.FirebaseOptions {
47 0 : MockFirebaseOptions() {
48 0 : _i1.throwOnMissingStub(this);
49 : }
50 :
51 0 : @override
52 : String get apiKey =>
53 0 : (super.noSuchMethod(Invocation.getter(#apiKey), returnValue: '')
54 : as String);
55 0 : @override
56 : String get appId =>
57 0 : (super.noSuchMethod(Invocation.getter(#appId), returnValue: '')
58 : as String);
59 0 : @override
60 : String get messagingSenderId => (super
61 0 : .noSuchMethod(Invocation.getter(#messagingSenderId), returnValue: '')
62 : as String);
63 0 : @override
64 : String get projectId =>
65 0 : (super.noSuchMethod(Invocation.getter(#projectId), returnValue: '')
66 : as String);
67 0 : @override
68 : Map<String, String?> get asMap =>
69 0 : (super.noSuchMethod(Invocation.getter(#asMap),
70 0 : returnValue: <String, String?>{}) as Map<String, String?>);
71 0 : @override
72 0 : String toString() => super.toString();
73 : }
|