// Mocks generated by Mockito 5.4.6 from annotations
// in unionflow_mobile_apps/test/features/organizations/bloc/org_types_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/domain/entities/type_reference_entity.dart'
    as _i2;
import 'package:unionflow_mobile_apps/features/organizations/domain/usecases/create_org_type.dart'
    as _i5;
import 'package:unionflow_mobile_apps/features/organizations/domain/usecases/delete_org_type.dart'
    as _i7;
import 'package:unionflow_mobile_apps/features/organizations/domain/usecases/get_org_types.dart'
    as _i3;
import 'package:unionflow_mobile_apps/features/organizations/domain/usecases/update_org_type.dart'
    as _i6;

// 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 _FakeTypeReferenceEntity_0 extends _i1.SmartFake
    implements _i2.TypeReferenceEntity {
  _FakeTypeReferenceEntity_0(Object parent, Invocation parentInvocation)
    : super(parent, parentInvocation);
}

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

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

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

  @override
  _i4.Future<_i2.TypeReferenceEntity> call({
    required String? code,
    required String? libelle,
    String? description,
    String? couleur,
    int? ordreAffichage = 0,
  }) =>
      (super.noSuchMethod(
            Invocation.method(#call, [], {
              #code: code,
              #libelle: libelle,
              #description: description,
              #couleur: couleur,
              #ordreAffichage: ordreAffichage,
            }),
            returnValue: _i4.Future<_i2.TypeReferenceEntity>.value(
              _FakeTypeReferenceEntity_0(
                this,
                Invocation.method(#call, [], {
                  #code: code,
                  #libelle: libelle,
                  #description: description,
                  #couleur: couleur,
                  #ordreAffichage: ordreAffichage,
                }),
              ),
            ),
          )
          as _i4.Future<_i2.TypeReferenceEntity>);
}

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

  @override
  _i4.Future<_i2.TypeReferenceEntity> call({
    required String? id,
    required String? code,
    required String? libelle,
    String? description,
    String? couleur,
    int? ordreAffichage = 0,
  }) =>
      (super.noSuchMethod(
            Invocation.method(#call, [], {
              #id: id,
              #code: code,
              #libelle: libelle,
              #description: description,
              #couleur: couleur,
              #ordreAffichage: ordreAffichage,
            }),
            returnValue: _i4.Future<_i2.TypeReferenceEntity>.value(
              _FakeTypeReferenceEntity_0(
                this,
                Invocation.method(#call, [], {
                  #id: id,
                  #code: code,
                  #libelle: libelle,
                  #description: description,
                  #couleur: couleur,
                  #ordreAffichage: ordreAffichage,
                }),
              ),
            ),
          )
          as _i4.Future<_i2.TypeReferenceEntity>);
}

/// A class which mocks [DeleteOrgType].
///
/// See the documentation for Mockito's code generation for more information.
class MockDeleteOrgType extends _i1.Mock implements _i7.DeleteOrgType {
  MockDeleteOrgType() {
    _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>);
}
