// Mocks generated by Mockito 5.4.6 from annotations
// in unionflow_mobile_apps/test/core/network/offline_manager_test.dart.
// Do not manually edit this file.

// ignore_for_file: no_leading_underscores_for_library_prefixes
import 'dart:async' as _i3;

import 'package:connectivity_plus/connectivity_plus.dart' as _i2;
import 'package:connectivity_plus_platform_interface/connectivity_plus_platform_interface.dart'
    as _i4;
import 'package:mockito/mockito.dart' as _i1;
import 'package:unionflow_mobile_apps/core/storage/pending_operations_store.dart'
    as _i5;

// 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: deprecated_member_use
// ignore_for_file: deprecated_member_use_from_same_package
// ignore_for_file: implementation_imports
// ignore_for_file: invalid_use_of_visible_for_testing_member
// ignore_for_file: must_be_immutable
// ignore_for_file: prefer_const_constructors
// ignore_for_file: unnecessary_parenthesis
// ignore_for_file: camel_case_types
// ignore_for_file: subtype_of_sealed_class
// ignore_for_file: invalid_use_of_internal_member

/// A class which mocks [Connectivity].
///
/// See the documentation for Mockito's code generation for more information.
class MockConnectivity extends _i1.Mock implements _i2.Connectivity {
  MockConnectivity() {
    _i1.throwOnMissingStub(this);
  }

  @override
  _i3.Stream<List<_i4.ConnectivityResult>> get onConnectivityChanged =>
      (super.noSuchMethod(
            Invocation.getter(#onConnectivityChanged),
            returnValue: _i3.Stream<List<_i4.ConnectivityResult>>.empty(),
          )
          as _i3.Stream<List<_i4.ConnectivityResult>>);

  @override
  _i3.Future<List<_i4.ConnectivityResult>> checkConnectivity() =>
      (super.noSuchMethod(
            Invocation.method(#checkConnectivity, []),
            returnValue: _i3.Future<List<_i4.ConnectivityResult>>.value(
              <_i4.ConnectivityResult>[],
            ),
          )
          as _i3.Future<List<_i4.ConnectivityResult>>);
}

/// A class which mocks [PendingOperationsStore].
///
/// See the documentation for Mockito's code generation for more information.
class MockPendingOperationsStore extends _i1.Mock
    implements _i5.PendingOperationsStore {
  MockPendingOperationsStore() {
    _i1.throwOnMissingStub(this);
  }

  @override
  _i3.Future<void> addPendingOperation({
    required String? operationType,
    required String? endpoint,
    required Map<String, dynamic>? data,
    Map<String, String>? headers,
  }) =>
      (super.noSuchMethod(
            Invocation.method(#addPendingOperation, [], {
              #operationType: operationType,
              #endpoint: endpoint,
              #data: data,
              #headers: headers,
            }),
            returnValue: _i3.Future<void>.value(),
            returnValueForMissingStub: _i3.Future<void>.value(),
          )
          as _i3.Future<void>);

  @override
  _i3.Future<List<Map<String, dynamic>>> getPendingOperations() =>
      (super.noSuchMethod(
            Invocation.method(#getPendingOperations, []),
            returnValue: _i3.Future<List<Map<String, dynamic>>>.value(
              <Map<String, dynamic>>[],
            ),
          )
          as _i3.Future<List<Map<String, dynamic>>>);

  @override
  _i3.Future<void> removePendingOperation(String? id) =>
      (super.noSuchMethod(
            Invocation.method(#removePendingOperation, [id]),
            returnValue: _i3.Future<void>.value(),
            returnValueForMissingStub: _i3.Future<void>.value(),
          )
          as _i3.Future<void>);

  @override
  _i3.Future<void> incrementRetryCount(String? id) =>
      (super.noSuchMethod(
            Invocation.method(#incrementRetryCount, [id]),
            returnValue: _i3.Future<void>.value(),
            returnValueForMissingStub: _i3.Future<void>.value(),
          )
          as _i3.Future<void>);

  @override
  _i3.Future<void> clearAll() =>
      (super.noSuchMethod(
            Invocation.method(#clearAll, []),
            returnValue: _i3.Future<void>.value(),
            returnValueForMissingStub: _i3.Future<void>.value(),
          )
          as _i3.Future<void>);

  @override
  _i3.Future<void> removeOldOperations({
    Duration? maxAge = const Duration(days: 7),
  }) =>
      (super.noSuchMethod(
            Invocation.method(#removeOldOperations, [], {#maxAge: maxAge}),
            returnValue: _i3.Future<void>.value(),
            returnValueForMissingStub: _i3.Future<void>.value(),
          )
          as _i3.Future<void>);

  @override
  _i3.Future<List<Map<String, dynamic>>> getOperationsByType(
    String? operationType,
  ) =>
      (super.noSuchMethod(
            Invocation.method(#getOperationsByType, [operationType]),
            returnValue: _i3.Future<List<Map<String, dynamic>>>.value(
              <Map<String, dynamic>>[],
            ),
          )
          as _i3.Future<List<Map<String, dynamic>>>);

  @override
  _i3.Future<int> getCount() =>
      (super.noSuchMethod(
            Invocation.method(#getCount, []),
            returnValue: _i3.Future<int>.value(0),
          )
          as _i3.Future<int>);
}
