LCOV - code coverage report
Current view: top level - test-doubles/firebase/mocks - firebase_test_doubles.mocks.dart (source / functions) Hit Total Coverage
Test: lcov.info Lines: 0 436 0.0 %
Date: 2022-03-03 12:15:14 Functions: 0 0 -

          Line data    Source code
       1             : // Mocks generated by Mockito 5.0.16 from annotations
       2             : // in redfire_test/src/test-doubles/firebase/mocks/firebase_test_doubles.dart.
       3             : // Do not manually edit this file.
       4             : 
       5             : import 'dart:async' as _i8;
       6             : import 'dart:typed_data' as _i9;
       7             : 
       8             : import 'package:cloud_firestore/cloud_firestore.dart' as _i5;
       9             : import 'package:cloud_firestore_platform_interface/cloud_firestore_platform_interface.dart'
      10             :     as _i4;
      11             : import 'package:firebase_auth/firebase_auth.dart' as _i7;
      12             : import 'package:firebase_auth_platform_interface/firebase_auth_platform_interface.dart'
      13             :     as _i6;
      14             : import 'package:firebase_core/firebase_core.dart' as _i3;
      15             : import 'package:firebase_core_platform_interface/firebase_core_platform_interface.dart'
      16             :     as _i2;
      17             : import 'package:mockito/mockito.dart' as _i1;
      18             : 
      19             : // ignore_for_file: avoid_redundant_argument_values
      20             : // ignore_for_file: avoid_setters_without_getters
      21             : // ignore_for_file: comment_references
      22             : // ignore_for_file: implementation_imports
      23             : // ignore_for_file: invalid_use_of_visible_for_testing_member
      24             : // ignore_for_file: prefer_const_constructors
      25             : // ignore_for_file: unnecessary_parenthesis
      26             : // ignore_for_file: camel_case_types
      27             : 
      28             : class _FakeFirebaseOptions_0 extends _i1.Fake implements _i2.FirebaseOptions {}
      29             : 
      30             : class _FakeFirebaseApp_1 extends _i1.Fake implements _i3.FirebaseApp {}
      31             : 
      32             : class _FakeSettings_2 extends _i1.Fake implements _i4.Settings {}
      33             : 
      34             : class _FakeCollectionReference_3<T extends Object?> extends _i1.Fake
      35             :     implements _i5.CollectionReference<T> {}
      36             : 
      37             : class _FakeWriteBatch_4 extends _i1.Fake implements _i5.WriteBatch {}
      38             : 
      39             : class _FakeLoadBundleTask_5 extends _i1.Fake implements _i5.LoadBundleTask {}
      40             : 
      41             : class _FakeQuerySnapshot_6<T extends Object?> extends _i1.Fake
      42             :     implements _i5.QuerySnapshot<T> {}
      43             : 
      44             : class _FakeQuery_7<T extends Object?> extends _i1.Fake implements _i5.Query<T> {
      45             : }
      46             : 
      47             : class _FakeDocumentReference_8<T extends Object?> extends _i1.Fake
      48             :     implements _i5.DocumentReference<T> {}
      49             : 
      50             : class _FakeFirebaseFirestore_9 extends _i1.Fake
      51             :     implements _i5.FirebaseFirestore {}
      52             : 
      53             : class _FakeDocumentSnapshot_10<T extends Object?> extends _i1.Fake
      54             :     implements _i5.DocumentSnapshot<T> {}
      55             : 
      56             : class _FakeActionCodeInfo_11 extends _i1.Fake implements _i6.ActionCodeInfo {}
      57             : 
      58             : class _FakeUserCredential_12 extends _i1.Fake implements _i7.UserCredential {}
      59             : 
      60             : class _FakeConfirmationResult_13 extends _i1.Fake
      61             :     implements _i7.ConfirmationResult {}
      62             : 
      63             : class _FakeUserMetadata_14 extends _i1.Fake implements _i6.UserMetadata {}
      64             : 
      65             : class _FakeIdTokenResult_15 extends _i1.Fake implements _i6.IdTokenResult {}
      66             : 
      67             : class _FakeUser_16 extends _i1.Fake implements _i7.User {}
      68             : 
      69             : /// A class which mocks [FirebaseApp].
      70             : ///
      71             : /// See the documentation for Mockito's code generation for more information.
      72             : class MockFirebaseApp extends _i1.Mock implements _i3.FirebaseApp {
      73           0 :   MockFirebaseApp() {
      74           0 :     _i1.throwOnMissingStub(this);
      75             :   }
      76             : 
      77           0 :   @override
      78             :   String get name =>
      79           0 :       (super.noSuchMethod(Invocation.getter(#name), returnValue: '') as String);
      80           0 :   @override
      81             :   _i2.FirebaseOptions get options =>
      82           0 :       (super.noSuchMethod(Invocation.getter(#options),
      83           0 :           returnValue: _FakeFirebaseOptions_0()) as _i2.FirebaseOptions);
      84           0 :   @override
      85             :   bool get isAutomaticDataCollectionEnabled =>
      86           0 :       (super.noSuchMethod(Invocation.getter(#isAutomaticDataCollectionEnabled),
      87             :           returnValue: false) as bool);
      88           0 :   @override
      89             :   _i8.Future<void> delete() =>
      90           0 :       (super.noSuchMethod(Invocation.method(#delete, []),
      91           0 :           returnValue: Future<void>.value(),
      92           0 :           returnValueForMissingStub: Future<void>.value()) as _i8.Future<void>);
      93           0 :   @override
      94             :   _i8.Future<void> setAutomaticDataCollectionEnabled(bool? enabled) =>
      95           0 :       (super.noSuchMethod(
      96           0 :           Invocation.method(#setAutomaticDataCollectionEnabled, [enabled]),
      97           0 :           returnValue: Future<void>.value(),
      98           0 :           returnValueForMissingStub: Future<void>.value()) as _i8.Future<void>);
      99           0 :   @override
     100             :   _i8.Future<void> setAutomaticResourceManagementEnabled(bool? enabled) =>
     101           0 :       (super.noSuchMethod(
     102           0 :           Invocation.method(#setAutomaticResourceManagementEnabled, [enabled]),
     103           0 :           returnValue: Future<void>.value(),
     104           0 :           returnValueForMissingStub: Future<void>.value()) as _i8.Future<void>);
     105           0 :   @override
     106           0 :   String toString() => super.toString();
     107             : }
     108             : 
     109             : /// A class which mocks [FirebaseFirestore].
     110             : ///
     111             : /// See the documentation for Mockito's code generation for more information.
     112             : class MockFirebaseFirestore extends _i1.Mock implements _i5.FirebaseFirestore {
     113           0 :   MockFirebaseFirestore() {
     114           0 :     _i1.throwOnMissingStub(this);
     115             :   }
     116             : 
     117           0 :   @override
     118           0 :   _i3.FirebaseApp get app => (super.noSuchMethod(Invocation.getter(#app),
     119           0 :       returnValue: _FakeFirebaseApp_1()) as _i3.FirebaseApp);
     120           0 :   @override
     121             :   set app(_i3.FirebaseApp? _app) =>
     122           0 :       super.noSuchMethod(Invocation.setter(#app, _app),
     123             :           returnValueForMissingStub: null);
     124           0 :   @override
     125             :   set settings(_i4.Settings? settings) =>
     126           0 :       super.noSuchMethod(Invocation.setter(#settings, settings),
     127             :           returnValueForMissingStub: null);
     128           0 :   @override
     129           0 :   _i4.Settings get settings => (super.noSuchMethod(Invocation.getter(#settings),
     130           0 :       returnValue: _FakeSettings_2()) as _i4.Settings);
     131           0 :   @override
     132             :   Map<dynamic, dynamic> get pluginConstants =>
     133           0 :       (super.noSuchMethod(Invocation.getter(#pluginConstants),
     134           0 :           returnValue: <dynamic, dynamic>{}) as Map<dynamic, dynamic>);
     135           0 :   @override
     136             :   _i5.CollectionReference<Map<String, dynamic>> collection(
     137             :           String? collectionPath) =>
     138           0 :       (super.noSuchMethod(Invocation.method(#collection, [collectionPath]),
     139           0 :               returnValue: _FakeCollectionReference_3<Map<String, dynamic>>())
     140             :           as _i5.CollectionReference<Map<String, dynamic>>);
     141           0 :   @override
     142           0 :   _i5.WriteBatch batch() => (super.noSuchMethod(Invocation.method(#batch, []),
     143           0 :       returnValue: _FakeWriteBatch_4()) as _i5.WriteBatch);
     144           0 :   @override
     145             :   _i8.Future<void> clearPersistence() =>
     146           0 :       (super.noSuchMethod(Invocation.method(#clearPersistence, []),
     147           0 :           returnValue: Future<void>.value(),
     148           0 :           returnValueForMissingStub: Future<void>.value()) as _i8.Future<void>);
     149           0 :   @override
     150             :   _i8.Future<void> enablePersistence(
     151             :           [_i4.PersistenceSettings? persistenceSettings]) =>
     152           0 :       (super.noSuchMethod(
     153           0 :           Invocation.method(#enablePersistence, [persistenceSettings]),
     154           0 :           returnValue: Future<void>.value(),
     155           0 :           returnValueForMissingStub: Future<void>.value()) as _i8.Future<void>);
     156           0 :   @override
     157             :   _i5.LoadBundleTask loadBundle(_i9.Uint8List? bundle) =>
     158           0 :       (super.noSuchMethod(Invocation.method(#loadBundle, [bundle]),
     159           0 :           returnValue: _FakeLoadBundleTask_5()) as _i5.LoadBundleTask);
     160           0 :   @override
     161             :   void useFirestoreEmulator(String? host, int? port,
     162             :           {bool? sslEnabled = false}) =>
     163           0 :       super.noSuchMethod(
     164           0 :           Invocation.method(
     165           0 :               #useFirestoreEmulator, [host, port], {#sslEnabled: sslEnabled}),
     166             :           returnValueForMissingStub: null);
     167           0 :   @override
     168             :   _i8.Future<_i5.QuerySnapshot<Map<String, dynamic>>> namedQueryGet(
     169             :           String? name,
     170             :           {_i4.GetOptions? options = const _i4.GetOptions()}) =>
     171           0 :       (super.noSuchMethod(
     172           0 :           Invocation.method(#namedQueryGet, [name], {#options: options}),
     173           0 :           returnValue: Future<_i5.QuerySnapshot<Map<String, dynamic>>>.value(
     174           0 :               _FakeQuerySnapshot_6<Map<String, dynamic>>())) as _i8
     175             :           .Future<_i5.QuerySnapshot<Map<String, dynamic>>>);
     176           0 :   @override
     177             :   _i5.Query<Map<String, dynamic>> collectionGroup(String? collectionPath) =>
     178           0 :       (super.noSuchMethod(Invocation.method(#collectionGroup, [collectionPath]),
     179           0 :               returnValue: _FakeQuery_7<Map<String, dynamic>>())
     180             :           as _i5.Query<Map<String, dynamic>>);
     181           0 :   @override
     182             :   _i8.Future<void> disableNetwork() =>
     183           0 :       (super.noSuchMethod(Invocation.method(#disableNetwork, []),
     184           0 :           returnValue: Future<void>.value(),
     185           0 :           returnValueForMissingStub: Future<void>.value()) as _i8.Future<void>);
     186           0 :   @override
     187             :   _i5.DocumentReference<Map<String, dynamic>> doc(String? documentPath) =>
     188           0 :       (super.noSuchMethod(Invocation.method(#doc, [documentPath]),
     189           0 :               returnValue: _FakeDocumentReference_8<Map<String, dynamic>>())
     190             :           as _i5.DocumentReference<Map<String, dynamic>>);
     191           0 :   @override
     192             :   _i8.Future<void> enableNetwork() =>
     193           0 :       (super.noSuchMethod(Invocation.method(#enableNetwork, []),
     194           0 :           returnValue: Future<void>.value(),
     195           0 :           returnValueForMissingStub: Future<void>.value()) as _i8.Future<void>);
     196           0 :   @override
     197             :   _i8.Stream<void> snapshotsInSync() =>
     198           0 :       (super.noSuchMethod(Invocation.method(#snapshotsInSync, []),
     199           0 :           returnValue: Stream<void>.empty()) as _i8.Stream<void>);
     200           0 :   @override
     201             :   _i8.Future<T> runTransaction<T>(_i5.TransactionHandler<T>? transactionHandler,
     202             :           {Duration? timeout = const Duration(seconds: 30)}) =>
     203           0 :       (super.noSuchMethod(
     204           0 :           Invocation.method(
     205           0 :               #runTransaction, [transactionHandler], {#timeout: timeout}),
     206           0 :           returnValue: Future<T>.value(null)) as _i8.Future<T>);
     207           0 :   @override
     208             :   _i8.Future<void> terminate() =>
     209           0 :       (super.noSuchMethod(Invocation.method(#terminate, []),
     210           0 :           returnValue: Future<void>.value(),
     211           0 :           returnValueForMissingStub: Future<void>.value()) as _i8.Future<void>);
     212           0 :   @override
     213             :   _i8.Future<void> waitForPendingWrites() =>
     214           0 :       (super.noSuchMethod(Invocation.method(#waitForPendingWrites, []),
     215           0 :           returnValue: Future<void>.value(),
     216           0 :           returnValueForMissingStub: Future<void>.value()) as _i8.Future<void>);
     217           0 :   @override
     218           0 :   String toString() => super.toString();
     219             : }
     220             : 
     221             : /// A class which mocks [DocumentReference].
     222             : ///
     223             : /// See the documentation for Mockito's code generation for more information.
     224             : // ignore: must_be_immutable
     225             : class MockDocumentReference<T extends Object?> extends _i1.Mock
     226             :     implements _i5.DocumentReference<T> {
     227           0 :   MockDocumentReference() {
     228           0 :     _i1.throwOnMissingStub(this);
     229             :   }
     230             : 
     231           0 :   @override
     232             :   _i5.FirebaseFirestore get firestore =>
     233           0 :       (super.noSuchMethod(Invocation.getter(#firestore),
     234           0 :           returnValue: _FakeFirebaseFirestore_9()) as _i5.FirebaseFirestore);
     235           0 :   @override
     236             :   String get id =>
     237           0 :       (super.noSuchMethod(Invocation.getter(#id), returnValue: '') as String);
     238           0 :   @override
     239             :   _i5.CollectionReference<T> get parent =>
     240           0 :       (super.noSuchMethod(Invocation.getter(#parent),
     241           0 :               returnValue: _FakeCollectionReference_3<T>())
     242             :           as _i5.CollectionReference<T>);
     243           0 :   @override
     244             :   String get path =>
     245           0 :       (super.noSuchMethod(Invocation.getter(#path), returnValue: '') as String);
     246           0 :   @override
     247             :   _i5.CollectionReference<Map<String, dynamic>> collection(
     248             :           String? collectionPath) =>
     249           0 :       (super.noSuchMethod(Invocation.method(#collection, [collectionPath]),
     250           0 :               returnValue: _FakeCollectionReference_3<Map<String, dynamic>>())
     251             :           as _i5.CollectionReference<Map<String, dynamic>>);
     252           0 :   @override
     253             :   _i8.Future<void> delete() =>
     254           0 :       (super.noSuchMethod(Invocation.method(#delete, []),
     255           0 :           returnValue: Future<void>.value(),
     256           0 :           returnValueForMissingStub: Future<void>.value()) as _i8.Future<void>);
     257           0 :   @override
     258             :   _i8.Future<void> update(Map<String, Object?>? data) =>
     259           0 :       (super.noSuchMethod(Invocation.method(#update, [data]),
     260           0 :           returnValue: Future<void>.value(),
     261           0 :           returnValueForMissingStub: Future<void>.value()) as _i8.Future<void>);
     262           0 :   @override
     263             :   _i8.Future<_i5.DocumentSnapshot<T>> get([_i4.GetOptions? options]) =>
     264           0 :       (super.noSuchMethod(Invocation.method(#get, [options]),
     265           0 :               returnValue: Future<_i5.DocumentSnapshot<T>>.value(
     266           0 :                   _FakeDocumentSnapshot_10<T>()))
     267             :           as _i8.Future<_i5.DocumentSnapshot<T>>);
     268           0 :   @override
     269             :   _i8.Stream<_i5.DocumentSnapshot<T>> snapshots(
     270             :           {bool? includeMetadataChanges = false}) =>
     271           0 :       (super.noSuchMethod(
     272           0 :               Invocation.method(#snapshots, [],
     273           0 :                   {#includeMetadataChanges: includeMetadataChanges}),
     274           0 :               returnValue: Stream<_i5.DocumentSnapshot<T>>.empty())
     275             :           as _i8.Stream<_i5.DocumentSnapshot<T>>);
     276           0 :   @override
     277             :   _i8.Future<void> set(T? data, [_i4.SetOptions? options]) =>
     278           0 :       (super.noSuchMethod(Invocation.method(#set, [data, options]),
     279           0 :           returnValue: Future<void>.value(),
     280           0 :           returnValueForMissingStub: Future<void>.value()) as _i8.Future<void>);
     281           0 :   @override
     282             :   _i5.DocumentReference<R> withConverter<R>(
     283             :           {_i5.FromFirestore<R>? fromFirestore,
     284             :           _i5.ToFirestore<R>? toFirestore}) =>
     285           0 :       (super.noSuchMethod(
     286           0 :               Invocation.method(#withConverter, [],
     287           0 :                   {#fromFirestore: fromFirestore, #toFirestore: toFirestore}),
     288           0 :               returnValue: _FakeDocumentReference_8<R>())
     289             :           as _i5.DocumentReference<R>);
     290           0 :   @override
     291           0 :   String toString() => super.toString();
     292             : }
     293             : 
     294             : /// A class which mocks [CollectionReference].
     295             : ///
     296             : /// See the documentation for Mockito's code generation for more information.
     297             : // ignore: must_be_immutable
     298             : class MockCollectionReference<T extends Object?> extends _i1.Mock
     299             :     implements _i5.CollectionReference<T> {
     300           0 :   MockCollectionReference() {
     301           0 :     _i1.throwOnMissingStub(this);
     302             :   }
     303             : 
     304           0 :   @override
     305             :   String get id =>
     306           0 :       (super.noSuchMethod(Invocation.getter(#id), returnValue: '') as String);
     307           0 :   @override
     308             :   String get path =>
     309           0 :       (super.noSuchMethod(Invocation.getter(#path), returnValue: '') as String);
     310           0 :   @override
     311             :   _i5.FirebaseFirestore get firestore =>
     312           0 :       (super.noSuchMethod(Invocation.getter(#firestore),
     313           0 :           returnValue: _FakeFirebaseFirestore_9()) as _i5.FirebaseFirestore);
     314           0 :   @override
     315             :   Map<String, dynamic> get parameters =>
     316           0 :       (super.noSuchMethod(Invocation.getter(#parameters),
     317           0 :           returnValue: <String, dynamic>{}) as Map<String, dynamic>);
     318           0 :   @override
     319             :   _i8.Future<_i5.DocumentReference<T>> add(T? data) =>
     320           0 :       (super.noSuchMethod(Invocation.method(#add, [data]),
     321           0 :               returnValue: Future<_i5.DocumentReference<T>>.value(
     322           0 :                   _FakeDocumentReference_8<T>()))
     323             :           as _i8.Future<_i5.DocumentReference<T>>);
     324           0 :   @override
     325           0 :   _i5.DocumentReference<T> doc([String? path]) => (super.noSuchMethod(
     326           0 :       Invocation.method(#doc, [path]),
     327           0 :       returnValue: _FakeDocumentReference_8<T>()) as _i5.DocumentReference<T>);
     328           0 :   @override
     329             :   _i5.CollectionReference<R> withConverter<R extends Object?>(
     330             :           {_i5.FromFirestore<R>? fromFirestore,
     331             :           _i5.ToFirestore<R>? toFirestore}) =>
     332           0 :       (super.noSuchMethod(
     333           0 :               Invocation.method(#withConverter, [],
     334           0 :                   {#fromFirestore: fromFirestore, #toFirestore: toFirestore}),
     335           0 :               returnValue: _FakeCollectionReference_3<R>())
     336             :           as _i5.CollectionReference<R>);
     337           0 :   @override
     338           0 :   String toString() => super.toString();
     339           0 :   @override
     340             :   _i5.Query<T> endAtDocument(_i5.DocumentSnapshot<Object?>? documentSnapshot) =>
     341           0 :       (super.noSuchMethod(Invocation.method(#endAtDocument, [documentSnapshot]),
     342           0 :           returnValue: _FakeQuery_7<T>()) as _i5.Query<T>);
     343           0 :   @override
     344             :   _i5.Query<T> endAt(List<Object?>? values) =>
     345           0 :       (super.noSuchMethod(Invocation.method(#endAt, [values]),
     346           0 :           returnValue: _FakeQuery_7<T>()) as _i5.Query<T>);
     347           0 :   @override
     348             :   _i5.Query<T> endBeforeDocument(
     349             :           _i5.DocumentSnapshot<Object?>? documentSnapshot) =>
     350           0 :       (super.noSuchMethod(
     351           0 :           Invocation.method(#endBeforeDocument, [documentSnapshot]),
     352           0 :           returnValue: _FakeQuery_7<T>()) as _i5.Query<T>);
     353           0 :   @override
     354             :   _i5.Query<T> endBefore(List<Object?>? values) =>
     355           0 :       (super.noSuchMethod(Invocation.method(#endBefore, [values]),
     356           0 :           returnValue: _FakeQuery_7<T>()) as _i5.Query<T>);
     357           0 :   @override
     358             :   _i8.Future<_i5.QuerySnapshot<T>> get([_i4.GetOptions? options]) =>
     359           0 :       (super.noSuchMethod(Invocation.method(#get, [options]),
     360             :               returnValue:
     361           0 :                   Future<_i5.QuerySnapshot<T>>.value(_FakeQuerySnapshot_6<T>()))
     362             :           as _i8.Future<_i5.QuerySnapshot<T>>);
     363           0 :   @override
     364             :   _i5.Query<T> limit(int? limit) =>
     365           0 :       (super.noSuchMethod(Invocation.method(#limit, [limit]),
     366           0 :           returnValue: _FakeQuery_7<T>()) as _i5.Query<T>);
     367           0 :   @override
     368             :   _i5.Query<T> limitToLast(int? limit) =>
     369           0 :       (super.noSuchMethod(Invocation.method(#limitToLast, [limit]),
     370           0 :           returnValue: _FakeQuery_7<T>()) as _i5.Query<T>);
     371           0 :   @override
     372             :   _i8.Stream<_i5.QuerySnapshot<T>> snapshots(
     373             :           {bool? includeMetadataChanges = false}) =>
     374           0 :       (super.noSuchMethod(
     375           0 :               Invocation.method(#snapshots, [],
     376           0 :                   {#includeMetadataChanges: includeMetadataChanges}),
     377           0 :               returnValue: Stream<_i5.QuerySnapshot<T>>.empty())
     378             :           as _i8.Stream<_i5.QuerySnapshot<T>>);
     379           0 :   @override
     380             :   _i5.Query<T> orderBy(Object? field, {bool? descending = false}) =>
     381           0 :       (super.noSuchMethod(
     382           0 :           Invocation.method(#orderBy, [field], {#descending: descending}),
     383           0 :           returnValue: _FakeQuery_7<T>()) as _i5.Query<T>);
     384           0 :   @override
     385             :   _i5.Query<T> startAfterDocument(
     386             :           _i5.DocumentSnapshot<Object?>? documentSnapshot) =>
     387           0 :       (super.noSuchMethod(
     388           0 :           Invocation.method(#startAfterDocument, [documentSnapshot]),
     389           0 :           returnValue: _FakeQuery_7<T>()) as _i5.Query<T>);
     390           0 :   @override
     391             :   _i5.Query<T> startAfter(List<Object?>? values) =>
     392           0 :       (super.noSuchMethod(Invocation.method(#startAfter, [values]),
     393           0 :           returnValue: _FakeQuery_7<T>()) as _i5.Query<T>);
     394           0 :   @override
     395             :   _i5.Query<T> startAtDocument(
     396             :           _i5.DocumentSnapshot<Object?>? documentSnapshot) =>
     397           0 :       (super.noSuchMethod(
     398           0 :           Invocation.method(#startAtDocument, [documentSnapshot]),
     399           0 :           returnValue: _FakeQuery_7<T>()) as _i5.Query<T>);
     400           0 :   @override
     401             :   _i5.Query<T> startAt(List<Object?>? values) =>
     402           0 :       (super.noSuchMethod(Invocation.method(#startAt, [values]),
     403           0 :           returnValue: _FakeQuery_7<T>()) as _i5.Query<T>);
     404           0 :   @override
     405             :   _i5.Query<T> where(Object? field,
     406             :           {Object? isEqualTo,
     407             :           Object? isNotEqualTo,
     408             :           Object? isLessThan,
     409             :           Object? isLessThanOrEqualTo,
     410             :           Object? isGreaterThan,
     411             :           Object? isGreaterThanOrEqualTo,
     412             :           Object? arrayContains,
     413             :           List<Object?>? arrayContainsAny,
     414             :           List<Object?>? whereIn,
     415             :           List<Object?>? whereNotIn,
     416             :           bool? isNull}) =>
     417           0 :       (super.noSuchMethod(
     418           0 :           Invocation.method(#where, [
     419             :             field
     420           0 :           ], {
     421             :             #isEqualTo: isEqualTo,
     422             :             #isNotEqualTo: isNotEqualTo,
     423             :             #isLessThan: isLessThan,
     424             :             #isLessThanOrEqualTo: isLessThanOrEqualTo,
     425             :             #isGreaterThan: isGreaterThan,
     426             :             #isGreaterThanOrEqualTo: isGreaterThanOrEqualTo,
     427             :             #arrayContains: arrayContains,
     428             :             #arrayContainsAny: arrayContainsAny,
     429             :             #whereIn: whereIn,
     430             :             #whereNotIn: whereNotIn,
     431             :             #isNull: isNull
     432             :           }),
     433           0 :           returnValue: _FakeQuery_7<T>()) as _i5.Query<T>);
     434             : }
     435             : 
     436             : /// A class which mocks [FirebaseAuth].
     437             : ///
     438             : /// See the documentation for Mockito's code generation for more information.
     439             : class MockFirebaseAuth extends _i1.Mock implements _i7.FirebaseAuth {
     440           0 :   MockFirebaseAuth() {
     441           0 :     _i1.throwOnMissingStub(this);
     442             :   }
     443             : 
     444           0 :   @override
     445           0 :   _i3.FirebaseApp get app => (super.noSuchMethod(Invocation.getter(#app),
     446           0 :       returnValue: _FakeFirebaseApp_1()) as _i3.FirebaseApp);
     447           0 :   @override
     448             :   set app(_i3.FirebaseApp? _app) =>
     449           0 :       super.noSuchMethod(Invocation.setter(#app, _app),
     450             :           returnValueForMissingStub: null);
     451           0 :   @override
     452             :   set tenantId(String? tenantId) =>
     453           0 :       super.noSuchMethod(Invocation.setter(#tenantId, tenantId),
     454             :           returnValueForMissingStub: null);
     455           0 :   @override
     456             :   Map<dynamic, dynamic> get pluginConstants =>
     457           0 :       (super.noSuchMethod(Invocation.getter(#pluginConstants),
     458           0 :           returnValue: <dynamic, dynamic>{}) as Map<dynamic, dynamic>);
     459           0 :   @override
     460             :   _i8.Future<void> useEmulator(String? origin) =>
     461           0 :       (super.noSuchMethod(Invocation.method(#useEmulator, [origin]),
     462           0 :           returnValue: Future<void>.value(),
     463           0 :           returnValueForMissingStub: Future<void>.value()) as _i8.Future<void>);
     464           0 :   @override
     465             :   _i8.Future<void> useAuthEmulator(String? host, int? port) =>
     466           0 :       (super.noSuchMethod(Invocation.method(#useAuthEmulator, [host, port]),
     467           0 :           returnValue: Future<void>.value(),
     468           0 :           returnValueForMissingStub: Future<void>.value()) as _i8.Future<void>);
     469           0 :   @override
     470             :   _i8.Future<void> applyActionCode(String? code) =>
     471           0 :       (super.noSuchMethod(Invocation.method(#applyActionCode, [code]),
     472           0 :           returnValue: Future<void>.value(),
     473           0 :           returnValueForMissingStub: Future<void>.value()) as _i8.Future<void>);
     474           0 :   @override
     475             :   _i8.Future<_i6.ActionCodeInfo> checkActionCode(String? code) =>
     476           0 :       (super.noSuchMethod(Invocation.method(#checkActionCode, [code]),
     477             :               returnValue:
     478           0 :                   Future<_i6.ActionCodeInfo>.value(_FakeActionCodeInfo_11()))
     479             :           as _i8.Future<_i6.ActionCodeInfo>);
     480           0 :   @override
     481             :   _i8.Future<void> confirmPasswordReset({String? code, String? newPassword}) =>
     482           0 :       (super.noSuchMethod(
     483           0 :           Invocation.method(#confirmPasswordReset, [],
     484           0 :               {#code: code, #newPassword: newPassword}),
     485           0 :           returnValue: Future<void>.value(),
     486           0 :           returnValueForMissingStub: Future<void>.value()) as _i8.Future<void>);
     487           0 :   @override
     488             :   _i8.Future<_i7.UserCredential> createUserWithEmailAndPassword(
     489             :           {String? email, String? password}) =>
     490           0 :       (super.noSuchMethod(
     491           0 :               Invocation.method(#createUserWithEmailAndPassword, [],
     492           0 :                   {#email: email, #password: password}),
     493             :               returnValue:
     494           0 :                   Future<_i7.UserCredential>.value(_FakeUserCredential_12()))
     495             :           as _i8.Future<_i7.UserCredential>);
     496           0 :   @override
     497             :   _i8.Future<List<String>> fetchSignInMethodsForEmail(String? email) => (super
     498           0 :           .noSuchMethod(Invocation.method(#fetchSignInMethodsForEmail, [email]),
     499           0 :               returnValue: Future<List<String>>.value(<String>[]))
     500             :       as _i8.Future<List<String>>);
     501           0 :   @override
     502             :   _i8.Future<_i7.UserCredential> getRedirectResult() =>
     503           0 :       (super.noSuchMethod(Invocation.method(#getRedirectResult, []),
     504             :               returnValue:
     505           0 :                   Future<_i7.UserCredential>.value(_FakeUserCredential_12()))
     506             :           as _i8.Future<_i7.UserCredential>);
     507           0 :   @override
     508           0 :   bool isSignInWithEmailLink(String? emailLink) => (super.noSuchMethod(
     509           0 :       Invocation.method(#isSignInWithEmailLink, [emailLink]),
     510             :       returnValue: false) as bool);
     511           0 :   @override
     512             :   _i8.Stream<_i7.User?> authStateChanges() =>
     513           0 :       (super.noSuchMethod(Invocation.method(#authStateChanges, []),
     514           0 :           returnValue: Stream<_i7.User?>.empty()) as _i8.Stream<_i7.User?>);
     515           0 :   @override
     516             :   _i8.Stream<_i7.User?> idTokenChanges() =>
     517           0 :       (super.noSuchMethod(Invocation.method(#idTokenChanges, []),
     518           0 :           returnValue: Stream<_i7.User?>.empty()) as _i8.Stream<_i7.User?>);
     519           0 :   @override
     520             :   _i8.Stream<_i7.User?> userChanges() =>
     521           0 :       (super.noSuchMethod(Invocation.method(#userChanges, []),
     522           0 :           returnValue: Stream<_i7.User?>.empty()) as _i8.Stream<_i7.User?>);
     523           0 :   @override
     524             :   _i8.Future<void> sendPasswordResetEmail(
     525             :           {String? email, _i6.ActionCodeSettings? actionCodeSettings}) =>
     526           0 :       (super.noSuchMethod(
     527           0 :           Invocation.method(#sendPasswordResetEmail, [],
     528           0 :               {#email: email, #actionCodeSettings: actionCodeSettings}),
     529           0 :           returnValue: Future<void>.value(),
     530           0 :           returnValueForMissingStub: Future<void>.value()) as _i8.Future<void>);
     531           0 :   @override
     532             :   _i8.Future<void> sendSignInLinkToEmail(
     533             :           {String? email, _i6.ActionCodeSettings? actionCodeSettings}) =>
     534           0 :       (super.noSuchMethod(
     535           0 :           Invocation.method(#sendSignInLinkToEmail, [],
     536           0 :               {#email: email, #actionCodeSettings: actionCodeSettings}),
     537           0 :           returnValue: Future<void>.value(),
     538           0 :           returnValueForMissingStub: Future<void>.value()) as _i8.Future<void>);
     539           0 :   @override
     540             :   _i8.Future<void> setLanguageCode(String? languageCode) =>
     541           0 :       (super.noSuchMethod(Invocation.method(#setLanguageCode, [languageCode]),
     542           0 :           returnValue: Future<void>.value(),
     543           0 :           returnValueForMissingStub: Future<void>.value()) as _i8.Future<void>);
     544           0 :   @override
     545             :   _i8.Future<void> setSettings(
     546             :           {bool? appVerificationDisabledForTesting,
     547             :           String? userAccessGroup,
     548             :           String? phoneNumber,
     549             :           String? smsCode,
     550             :           bool? forceRecaptchaFlow}) =>
     551           0 :       (super.noSuchMethod(
     552           0 :           Invocation.method(#setSettings, [], {
     553             :             #appVerificationDisabledForTesting:
     554             :                 appVerificationDisabledForTesting,
     555             :             #userAccessGroup: userAccessGroup,
     556             :             #phoneNumber: phoneNumber,
     557             :             #smsCode: smsCode,
     558             :             #forceRecaptchaFlow: forceRecaptchaFlow
     559             :           }),
     560           0 :           returnValue: Future<void>.value(),
     561           0 :           returnValueForMissingStub: Future<void>.value()) as _i8.Future<void>);
     562           0 :   @override
     563             :   _i8.Future<void> setPersistence(_i6.Persistence? persistence) =>
     564           0 :       (super.noSuchMethod(Invocation.method(#setPersistence, [persistence]),
     565           0 :           returnValue: Future<void>.value(),
     566           0 :           returnValueForMissingStub: Future<void>.value()) as _i8.Future<void>);
     567           0 :   @override
     568             :   _i8.Future<_i7.UserCredential> signInAnonymously() =>
     569           0 :       (super.noSuchMethod(Invocation.method(#signInAnonymously, []),
     570             :               returnValue:
     571           0 :                   Future<_i7.UserCredential>.value(_FakeUserCredential_12()))
     572             :           as _i8.Future<_i7.UserCredential>);
     573           0 :   @override
     574             :   _i8.Future<_i7.UserCredential> signInWithCredential(
     575             :           _i6.AuthCredential? credential) =>
     576           0 :       (super.noSuchMethod(
     577           0 :               Invocation.method(#signInWithCredential, [credential]),
     578             :               returnValue:
     579           0 :                   Future<_i7.UserCredential>.value(_FakeUserCredential_12()))
     580             :           as _i8.Future<_i7.UserCredential>);
     581           0 :   @override
     582             :   _i8.Future<_i7.UserCredential> signInWithCustomToken(String? token) =>
     583           0 :       (super.noSuchMethod(Invocation.method(#signInWithCustomToken, [token]),
     584             :               returnValue:
     585           0 :                   Future<_i7.UserCredential>.value(_FakeUserCredential_12()))
     586             :           as _i8.Future<_i7.UserCredential>);
     587           0 :   @override
     588             :   _i8.Future<_i7.UserCredential> signInWithEmailAndPassword(
     589             :           {String? email, String? password}) =>
     590           0 :       (super.noSuchMethod(
     591           0 :               Invocation.method(#signInWithEmailAndPassword, [],
     592           0 :                   {#email: email, #password: password}),
     593             :               returnValue:
     594           0 :                   Future<_i7.UserCredential>.value(_FakeUserCredential_12()))
     595             :           as _i8.Future<_i7.UserCredential>);
     596           0 :   @override
     597             :   _i8.Future<_i7.UserCredential> signInWithEmailLink(
     598             :           {String? email, String? emailLink}) =>
     599           0 :       (super.noSuchMethod(
     600           0 :           Invocation.method(
     601           0 :               #signInWithEmailLink, [], {#email: email, #emailLink: emailLink}),
     602             :           returnValue:
     603           0 :               Future<_i7.UserCredential>.value(_FakeUserCredential_12())) as _i8
     604             :           .Future<_i7.UserCredential>);
     605           0 :   @override
     606             :   _i8.Future<_i7.ConfirmationResult> signInWithPhoneNumber(String? phoneNumber,
     607             :           [_i7.RecaptchaVerifier? verifier]) =>
     608           0 :       (super.noSuchMethod(
     609           0 :           Invocation.method(#signInWithPhoneNumber, [phoneNumber, verifier]),
     610           0 :           returnValue: Future<_i7.ConfirmationResult>.value(
     611           0 :               _FakeConfirmationResult_13())) as _i8
     612             :           .Future<_i7.ConfirmationResult>);
     613           0 :   @override
     614             :   _i8.Future<_i7.UserCredential> signInWithPopup(_i6.AuthProvider? provider) =>
     615           0 :       (super.noSuchMethod(Invocation.method(#signInWithPopup, [provider]),
     616             :               returnValue:
     617           0 :                   Future<_i7.UserCredential>.value(_FakeUserCredential_12()))
     618             :           as _i8.Future<_i7.UserCredential>);
     619           0 :   @override
     620             :   _i8.Future<void> signInWithRedirect(_i6.AuthProvider? provider) =>
     621           0 :       (super.noSuchMethod(Invocation.method(#signInWithRedirect, [provider]),
     622           0 :           returnValue: Future<void>.value(),
     623           0 :           returnValueForMissingStub: Future<void>.value()) as _i8.Future<void>);
     624           0 :   @override
     625             :   _i8.Future<void> signOut() =>
     626           0 :       (super.noSuchMethod(Invocation.method(#signOut, []),
     627           0 :           returnValue: Future<void>.value(),
     628           0 :           returnValueForMissingStub: Future<void>.value()) as _i8.Future<void>);
     629           0 :   @override
     630             :   _i8.Future<String> verifyPasswordResetCode(String? code) =>
     631           0 :       (super.noSuchMethod(Invocation.method(#verifyPasswordResetCode, [code]),
     632           0 :           returnValue: Future<String>.value('')) as _i8.Future<String>);
     633           0 :   @override
     634             :   _i8.Future<void> verifyPhoneNumber(
     635             :           {String? phoneNumber,
     636             :           _i6.PhoneVerificationCompleted? verificationCompleted,
     637             :           _i6.PhoneVerificationFailed? verificationFailed,
     638             :           _i6.PhoneCodeSent? codeSent,
     639             :           _i6.PhoneCodeAutoRetrievalTimeout? codeAutoRetrievalTimeout,
     640             :           String? autoRetrievedSmsCodeForTesting,
     641             :           Duration? timeout = const Duration(seconds: 30),
     642             :           int? forceResendingToken}) =>
     643           0 :       (super.noSuchMethod(
     644           0 :           Invocation.method(#verifyPhoneNumber, [], {
     645             :             #phoneNumber: phoneNumber,
     646             :             #verificationCompleted: verificationCompleted,
     647             :             #verificationFailed: verificationFailed,
     648             :             #codeSent: codeSent,
     649             :             #codeAutoRetrievalTimeout: codeAutoRetrievalTimeout,
     650             :             #autoRetrievedSmsCodeForTesting: autoRetrievedSmsCodeForTesting,
     651             :             #timeout: timeout,
     652             :             #forceResendingToken: forceResendingToken
     653             :           }),
     654           0 :           returnValue: Future<void>.value(),
     655           0 :           returnValueForMissingStub: Future<void>.value()) as _i8.Future<void>);
     656           0 :   @override
     657           0 :   String toString() => super.toString();
     658             : }
     659             : 
     660             : /// A class which mocks [User].
     661             : ///
     662             : /// See the documentation for Mockito's code generation for more information.
     663             : class MockUser extends _i1.Mock implements _i7.User {
     664           0 :   MockUser() {
     665           0 :     _i1.throwOnMissingStub(this);
     666             :   }
     667             : 
     668           0 :   @override
     669             :   bool get emailVerified =>
     670           0 :       (super.noSuchMethod(Invocation.getter(#emailVerified), returnValue: false)
     671             :           as bool);
     672           0 :   @override
     673             :   bool get isAnonymous =>
     674           0 :       (super.noSuchMethod(Invocation.getter(#isAnonymous), returnValue: false)
     675             :           as bool);
     676           0 :   @override
     677             :   _i6.UserMetadata get metadata =>
     678           0 :       (super.noSuchMethod(Invocation.getter(#metadata),
     679           0 :           returnValue: _FakeUserMetadata_14()) as _i6.UserMetadata);
     680           0 :   @override
     681             :   List<_i6.UserInfo> get providerData =>
     682           0 :       (super.noSuchMethod(Invocation.getter(#providerData),
     683           0 :           returnValue: <_i6.UserInfo>[]) as List<_i6.UserInfo>);
     684           0 :   @override
     685             :   String get uid =>
     686           0 :       (super.noSuchMethod(Invocation.getter(#uid), returnValue: '') as String);
     687           0 :   @override
     688             :   _i8.Future<void> delete() =>
     689           0 :       (super.noSuchMethod(Invocation.method(#delete, []),
     690           0 :           returnValue: Future<void>.value(),
     691           0 :           returnValueForMissingStub: Future<void>.value()) as _i8.Future<void>);
     692           0 :   @override
     693             :   _i8.Future<String> getIdToken([bool? forceRefresh = false]) =>
     694           0 :       (super.noSuchMethod(Invocation.method(#getIdToken, [forceRefresh]),
     695           0 :           returnValue: Future<String>.value('')) as _i8.Future<String>);
     696           0 :   @override
     697             :   _i8.Future<_i6.IdTokenResult> getIdTokenResult(
     698             :           [bool? forceRefresh = false]) =>
     699           0 :       (super.noSuchMethod(Invocation.method(#getIdTokenResult, [forceRefresh]),
     700             :               returnValue:
     701           0 :                   Future<_i6.IdTokenResult>.value(_FakeIdTokenResult_15()))
     702             :           as _i8.Future<_i6.IdTokenResult>);
     703           0 :   @override
     704             :   _i8.Future<_i7.UserCredential> linkWithCredential(
     705             :           _i6.AuthCredential? credential) =>
     706           0 :       (super.noSuchMethod(Invocation.method(#linkWithCredential, [credential]),
     707             :               returnValue:
     708           0 :                   Future<_i7.UserCredential>.value(_FakeUserCredential_12()))
     709             :           as _i8.Future<_i7.UserCredential>);
     710           0 :   @override
     711             :   _i8.Future<_i7.UserCredential> linkWithPopup(_i6.AuthProvider? provider) =>
     712           0 :       (super.noSuchMethod(Invocation.method(#linkWithPopup, [provider]),
     713             :               returnValue:
     714           0 :                   Future<_i7.UserCredential>.value(_FakeUserCredential_12()))
     715             :           as _i8.Future<_i7.UserCredential>);
     716           0 :   @override
     717             :   _i8.Future<_i7.ConfirmationResult> linkWithPhoneNumber(String? phoneNumber,
     718             :           [_i7.RecaptchaVerifier? verifier]) =>
     719           0 :       (super.noSuchMethod(
     720           0 :               Invocation.method(#linkWithPhoneNumber, [phoneNumber, verifier]),
     721           0 :               returnValue: Future<_i7.ConfirmationResult>.value(
     722           0 :                   _FakeConfirmationResult_13()))
     723             :           as _i8.Future<_i7.ConfirmationResult>);
     724           0 :   @override
     725             :   _i8.Future<_i7.UserCredential> reauthenticateWithCredential(
     726             :           _i6.AuthCredential? credential) =>
     727           0 :       (super.noSuchMethod(
     728           0 :               Invocation.method(#reauthenticateWithCredential, [credential]),
     729             :               returnValue:
     730           0 :                   Future<_i7.UserCredential>.value(_FakeUserCredential_12()))
     731             :           as _i8.Future<_i7.UserCredential>);
     732           0 :   @override
     733             :   _i8.Future<void> reload() =>
     734           0 :       (super.noSuchMethod(Invocation.method(#reload, []),
     735           0 :           returnValue: Future<void>.value(),
     736           0 :           returnValueForMissingStub: Future<void>.value()) as _i8.Future<void>);
     737           0 :   @override
     738             :   _i8.Future<void> sendEmailVerification(
     739             :           [_i6.ActionCodeSettings? actionCodeSettings]) =>
     740           0 :       (super.noSuchMethod(
     741           0 :           Invocation.method(#sendEmailVerification, [actionCodeSettings]),
     742           0 :           returnValue: Future<void>.value(),
     743           0 :           returnValueForMissingStub: Future<void>.value()) as _i8.Future<void>);
     744           0 :   @override
     745             :   _i8.Future<_i7.User> unlink(String? providerId) =>
     746           0 :       (super.noSuchMethod(Invocation.method(#unlink, [providerId]),
     747           0 :               returnValue: Future<_i7.User>.value(_FakeUser_16()))
     748             :           as _i8.Future<_i7.User>);
     749           0 :   @override
     750             :   _i8.Future<void> updateEmail(String? newEmail) =>
     751           0 :       (super.noSuchMethod(Invocation.method(#updateEmail, [newEmail]),
     752           0 :           returnValue: Future<void>.value(),
     753           0 :           returnValueForMissingStub: Future<void>.value()) as _i8.Future<void>);
     754           0 :   @override
     755             :   _i8.Future<void> updatePassword(String? newPassword) =>
     756           0 :       (super.noSuchMethod(Invocation.method(#updatePassword, [newPassword]),
     757           0 :           returnValue: Future<void>.value(),
     758           0 :           returnValueForMissingStub: Future<void>.value()) as _i8.Future<void>);
     759           0 :   @override
     760             :   _i8.Future<void> updatePhoneNumber(
     761             :           _i6.PhoneAuthCredential? phoneCredential) =>
     762           0 :       (super.noSuchMethod(
     763           0 :           Invocation.method(#updatePhoneNumber, [phoneCredential]),
     764           0 :           returnValue: Future<void>.value(),
     765           0 :           returnValueForMissingStub: Future<void>.value()) as _i8.Future<void>);
     766           0 :   @override
     767             :   _i8.Future<void> updateDisplayName(String? displayName) =>
     768           0 :       (super.noSuchMethod(Invocation.method(#updateDisplayName, [displayName]),
     769           0 :           returnValue: Future<void>.value(),
     770           0 :           returnValueForMissingStub: Future<void>.value()) as _i8.Future<void>);
     771           0 :   @override
     772             :   _i8.Future<void> updatePhotoURL(String? photoURL) =>
     773           0 :       (super.noSuchMethod(Invocation.method(#updatePhotoURL, [photoURL]),
     774           0 :           returnValue: Future<void>.value(),
     775           0 :           returnValueForMissingStub: Future<void>.value()) as _i8.Future<void>);
     776           0 :   @override
     777             :   _i8.Future<void> updateProfile({String? displayName, String? photoURL}) =>
     778           0 :       (super.noSuchMethod(
     779           0 :           Invocation.method(#updateProfile, [],
     780           0 :               {#displayName: displayName, #photoURL: photoURL}),
     781           0 :           returnValue: Future<void>.value(),
     782           0 :           returnValueForMissingStub: Future<void>.value()) as _i8.Future<void>);
     783           0 :   @override
     784             :   _i8.Future<void> verifyBeforeUpdateEmail(String? newEmail,
     785             :           [_i6.ActionCodeSettings? actionCodeSettings]) =>
     786           0 :       (super.noSuchMethod(
     787           0 :           Invocation.method(
     788           0 :               #verifyBeforeUpdateEmail, [newEmail, actionCodeSettings]),
     789           0 :           returnValue: Future<void>.value(),
     790           0 :           returnValueForMissingStub: Future<void>.value()) as _i8.Future<void>);
     791           0 :   @override
     792           0 :   String toString() => super.toString();
     793             : }
     794             : 
     795             : /// A class which mocks [UserCredential].
     796             : ///
     797             : /// See the documentation for Mockito's code generation for more information.
     798             : class MockUserCredential extends _i1.Mock implements _i7.UserCredential {
     799           0 :   MockUserCredential() {
     800           0 :     _i1.throwOnMissingStub(this);
     801             :   }
     802             : 
     803           0 :   @override
     804           0 :   String toString() => super.toString();
     805             : }

Generated by: LCOV version 1.13