// Mocks generated by Mockito 5.4.6 from annotations
// in unionflow_mobile_apps/test/features/organizations/bloc/organizations_bloc_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/data/services/organization_service.dart'
    as _i10;
import 'package:unionflow_mobile_apps/features/organizations/domain/repositories/organization_repository.dart'
    as _i9;
import 'package:unionflow_mobile_apps/features/organizations/domain/usecases/create_organization.dart'
    as _i6;
import 'package:unionflow_mobile_apps/features/organizations/domain/usecases/delete_organization.dart'
    as _i8;
import 'package:unionflow_mobile_apps/features/organizations/domain/usecases/get_organization_by_id.dart'
    as _i5;
import 'package:unionflow_mobile_apps/features/organizations/domain/usecases/get_organizations.dart'
    as _i3;
import 'package:unionflow_mobile_apps/features/organizations/domain/usecases/update_organization.dart'
    as _i7;

// 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 [GetOrganizations].
///
/// See the documentation for Mockito's code generation for more information.
class MockGetOrganizations extends _i1.Mock implements _i3.GetOrganizations {
  MockGetOrganizations() {
    _i1.throwOnMissingStub(this);
  }

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

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

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

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

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

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

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

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

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

/// A class which mocks [IOrganizationRepository].
///
/// See the documentation for Mockito's code generation for more information.
class MockIOrganizationRepository extends _i1.Mock
    implements _i9.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>);
}

/// A class which mocks [OrganizationService].
///
/// See the documentation for Mockito's code generation for more information.
class MockOrganizationService extends _i1.Mock
    implements _i10.OrganizationService {
  MockOrganizationService() {
    _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<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
  List<_i2.OrganizationModel> filterByStatus(
    List<_i2.OrganizationModel>? organizations,
    _i2.StatutOrganization? statut,
  ) =>
      (super.noSuchMethod(
            Invocation.method(#filterByStatus, [organizations, statut]),
            returnValue: <_i2.OrganizationModel>[],
          )
          as List<_i2.OrganizationModel>);

  @override
  List<_i2.OrganizationModel> filterByType(
    List<_i2.OrganizationModel>? organizations,
    String? type,
  ) =>
      (super.noSuchMethod(
            Invocation.method(#filterByType, [organizations, type]),
            returnValue: <_i2.OrganizationModel>[],
          )
          as List<_i2.OrganizationModel>);

  @override
  List<_i2.OrganizationModel> sortByName(
    List<_i2.OrganizationModel>? organizations, {
    bool? ascending = true,
  }) =>
      (super.noSuchMethod(
            Invocation.method(
              #sortByName,
              [organizations],
              {#ascending: ascending},
            ),
            returnValue: <_i2.OrganizationModel>[],
          )
          as List<_i2.OrganizationModel>);

  @override
  List<_i2.OrganizationModel> sortByCreationDate(
    List<_i2.OrganizationModel>? organizations, {
    bool? ascending = true,
  }) =>
      (super.noSuchMethod(
            Invocation.method(
              #sortByCreationDate,
              [organizations],
              {#ascending: ascending},
            ),
            returnValue: <_i2.OrganizationModel>[],
          )
          as List<_i2.OrganizationModel>);

  @override
  List<_i2.OrganizationModel> sortByMemberCount(
    List<_i2.OrganizationModel>? organizations, {
    bool? ascending = true,
  }) =>
      (super.noSuchMethod(
            Invocation.method(
              #sortByMemberCount,
              [organizations],
              {#ascending: ascending},
            ),
            returnValue: <_i2.OrganizationModel>[],
          )
          as List<_i2.OrganizationModel>);

  @override
  List<_i2.OrganizationModel> searchLocal(
    List<_i2.OrganizationModel>? organizations,
    String? query,
  ) =>
      (super.noSuchMethod(
            Invocation.method(#searchLocal, [organizations, query]),
            returnValue: <_i2.OrganizationModel>[],
          )
          as List<_i2.OrganizationModel>);

  @override
  Map<String, dynamic> calculateLocalStats(
    List<_i2.OrganizationModel>? organizations,
  ) =>
      (super.noSuchMethod(
            Invocation.method(#calculateLocalStats, [organizations]),
            returnValue: <String, dynamic>{},
          )
          as Map<String, dynamic>);
}
