// Mocks generated by Mockito 5.4.6 from annotations
// in unionflow_mobile_apps/test/features/solidarity/bloc/solidarity_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/solidarity/data/models/demande_aide_model.dart'
    as _i2;
import 'package:unionflow_mobile_apps/features/solidarity/data/repositories/demande_aide_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 _FakeDemandeAideModel_0 extends _i1.SmartFake
    implements _i2.DemandeAideModel {
  _FakeDemandeAideModel_0(Object parent, Invocation parentInvocation)
    : super(parent, parentInvocation);
}

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

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

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

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

  @override
  _i4.Future<_i2.DemandeAideModel> create(_i2.DemandeAideModel? demande) =>
      (super.noSuchMethod(
            Invocation.method(#create, [demande]),
            returnValue: _i4.Future<_i2.DemandeAideModel>.value(
              _FakeDemandeAideModel_0(
                this,
                Invocation.method(#create, [demande]),
              ),
            ),
          )
          as _i4.Future<_i2.DemandeAideModel>);

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

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

  @override
  _i4.Future<_i2.DemandeAideModel> rejeter(String? id, {String? motif}) =>
      (super.noSuchMethod(
            Invocation.method(#rejeter, [id], {#motif: motif}),
            returnValue: _i4.Future<_i2.DemandeAideModel>.value(
              _FakeDemandeAideModel_0(
                this,
                Invocation.method(#rejeter, [id], {#motif: motif}),
              ),
            ),
          )
          as _i4.Future<_i2.DemandeAideModel>);

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