// Mocks generated by Mockito 5.4.6 from annotations
// in unionflow_mobile_apps/test/features/organizations/domain/usecases/get_organization_by_id_test.dart.
// Do not manually edit this file.

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

import 'package:mockito/mockito.dart' as _i1;
import 'package:unionflow_mobile_apps/features/organizations/data/models/organization_model.dart'
    as _i2;
import 'package:unionflow_mobile_apps/features/organizations/domain/repositories/organization_repository.dart'
    as _i3;

// 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

class _FakeOrganizationModel_0 extends _i1.SmartFake
    implements _i2.OrganizationModel {
  _FakeOrganizationModel_0(Object parent, Invocation parentInvocation)
    : super(parent, parentInvocation);
}

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

  @override
  _i4.Future<List<_i2.OrganizationModel>> getOrganizations({
    int? page = 0,
    int? size = 20,
    String? recherche,
  }) =>
      (super.noSuchMethod(
            Invocation.method(#getOrganizations, [], {
              #page: page,
              #size: size,
              #recherche: recherche,
            }),
            returnValue: _i4.Future<List<_i2.OrganizationModel>>.value(
              <_i2.OrganizationModel>[],
            ),
          )
          as _i4.Future<List<_i2.OrganizationModel>>);

  @override
  _i4.Future<List<_i2.OrganizationModel>> getMesOrganisations() =>
      (super.noSuchMethod(
            Invocation.method(#getMesOrganisations, []),
            returnValue: _i4.Future<List<_i2.OrganizationModel>>.value(
              <_i2.OrganizationModel>[],
            ),
          )
          as _i4.Future<List<_i2.OrganizationModel>>);

  @override
  _i4.Future<_i2.OrganizationModel?> getOrganizationById(String? id) =>
      (super.noSuchMethod(
            Invocation.method(#getOrganizationById, [id]),
            returnValue: _i4.Future<_i2.OrganizationModel?>.value(),
          )
          as _i4.Future<_i2.OrganizationModel?>);

  @override
  _i4.Future<_i2.OrganizationModel> createOrganization(
    _i2.OrganizationModel? organization,
  ) =>
      (super.noSuchMethod(
            Invocation.method(#createOrganization, [organization]),
            returnValue: _i4.Future<_i2.OrganizationModel>.value(
              _FakeOrganizationModel_0(
                this,
                Invocation.method(#createOrganization, [organization]),
              ),
            ),
          )
          as _i4.Future<_i2.OrganizationModel>);

  @override
  _i4.Future<_i2.OrganizationModel> updateOrganization(
    String? id,
    _i2.OrganizationModel? organization,
  ) =>
      (super.noSuchMethod(
            Invocation.method(#updateOrganization, [id, organization]),
            returnValue: _i4.Future<_i2.OrganizationModel>.value(
              _FakeOrganizationModel_0(
                this,
                Invocation.method(#updateOrganization, [id, organization]),
              ),
            ),
          )
          as _i4.Future<_i2.OrganizationModel>);

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

  @override
  _i4.Future<_i2.OrganizationModel> activateOrganization(String? id) =>
      (super.noSuchMethod(
            Invocation.method(#activateOrganization, [id]),
            returnValue: _i4.Future<_i2.OrganizationModel>.value(
              _FakeOrganizationModel_0(
                this,
                Invocation.method(#activateOrganization, [id]),
              ),
            ),
          )
          as _i4.Future<_i2.OrganizationModel>);

  @override
  _i4.Future<_i2.OrganizationModel> suspendOrganization(String? id) =>
      (super.noSuchMethod(
            Invocation.method(#suspendOrganization, [id]),
            returnValue: _i4.Future<_i2.OrganizationModel>.value(
              _FakeOrganizationModel_0(
                this,
                Invocation.method(#suspendOrganization, [id]),
              ),
            ),
          )
          as _i4.Future<_i2.OrganizationModel>);

  @override
  _i4.Future<List<_i2.OrganizationModel>> searchOrganizations({
    String? nom,
    String? type,
    _i2.StatutOrganization? statut,
    String? ville,
    String? region,
    String? pays,
    int? page = 0,
    int? size = 20,
  }) =>
      (super.noSuchMethod(
            Invocation.method(#searchOrganizations, [], {
              #nom: nom,
              #type: type,
              #statut: statut,
              #ville: ville,
              #region: region,
              #pays: pays,
              #page: page,
              #size: size,
            }),
            returnValue: _i4.Future<List<_i2.OrganizationModel>>.value(
              <_i2.OrganizationModel>[],
            ),
          )
          as _i4.Future<List<_i2.OrganizationModel>>);

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

  @override
  _i4.Future<_i2.OrganizationModel> updateOrganizationConfig(
    String? id,
    Map<String, dynamic>? config,
  ) =>
      (super.noSuchMethod(
            Invocation.method(#updateOrganizationConfig, [id, config]),
            returnValue: _i4.Future<_i2.OrganizationModel>.value(
              _FakeOrganizationModel_0(
                this,
                Invocation.method(#updateOrganizationConfig, [id, config]),
              ),
            ),
          )
          as _i4.Future<_i2.OrganizationModel>);

  @override
  _i4.Future<Map<String, dynamic>> getOrganizationsStats() =>
      (super.noSuchMethod(
            Invocation.method(#getOrganizationsStats, []),
            returnValue: _i4.Future<Map<String, dynamic>>.value(
              <String, dynamic>{},
            ),
          )
          as _i4.Future<Map<String, dynamic>>);

  @override
  _i4.Future<int> getMembreCount(String? organizationId) =>
      (super.noSuchMethod(
            Invocation.method(#getMembreCount, [organizationId]),
            returnValue: _i4.Future<int>.value(0),
          )
          as _i4.Future<int>);
}
