// Mocks generated by Mockito 5.4.6 from annotations
// in tugas_akhir_supabase/test/domain/usecases/get_schedules_test.dart.
// Do not manually edit this file.

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

import 'package:dartz/dartz.dart' as _i2;
import 'package:mockito/mockito.dart' as _i1;
import 'package:tugas_akhir_supabase/core/errors/failures.dart' as _i5;
import 'package:tugas_akhir_supabase/domain/entities/crop_schedule.dart' as _i6;
import 'package:tugas_akhir_supabase/domain/repositories/crop_schedule_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

class _FakeEither_0<L, R> extends _i1.SmartFake implements _i2.Either<L, R> {
  _FakeEither_0(Object parent, Invocation parentInvocation)
    : super(parent, parentInvocation);
}

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

  @override
  _i4.Future<_i2.Either<_i5.Failure, List<_i6.CropSchedule>>> getSchedules(
    String? userId,
  ) =>
      (super.noSuchMethod(
            Invocation.method(#getSchedules, [userId]),
            returnValue: _i4.Future<
              _i2.Either<_i5.Failure, List<_i6.CropSchedule>>
            >.value(
              _FakeEither_0<_i5.Failure, List<_i6.CropSchedule>>(
                this,
                Invocation.method(#getSchedules, [userId]),
              ),
            ),
          )
          as _i4.Future<_i2.Either<_i5.Failure, List<_i6.CropSchedule>>>);

  @override
  _i4.Future<_i2.Either<_i5.Failure, _i6.CropSchedule>> createSchedule(
    String? userId,
    _i6.CropSchedule? schedule,
  ) =>
      (super.noSuchMethod(
            Invocation.method(#createSchedule, [userId, schedule]),
            returnValue:
                _i4.Future<_i2.Either<_i5.Failure, _i6.CropSchedule>>.value(
                  _FakeEither_0<_i5.Failure, _i6.CropSchedule>(
                    this,
                    Invocation.method(#createSchedule, [userId, schedule]),
                  ),
                ),
          )
          as _i4.Future<_i2.Either<_i5.Failure, _i6.CropSchedule>>);

  @override
  _i4.Future<_i2.Either<_i5.Failure, _i6.CropSchedule>> updateSchedule(
    String? userId,
    _i6.CropSchedule? schedule,
  ) =>
      (super.noSuchMethod(
            Invocation.method(#updateSchedule, [userId, schedule]),
            returnValue:
                _i4.Future<_i2.Either<_i5.Failure, _i6.CropSchedule>>.value(
                  _FakeEither_0<_i5.Failure, _i6.CropSchedule>(
                    this,
                    Invocation.method(#updateSchedule, [userId, schedule]),
                  ),
                ),
          )
          as _i4.Future<_i2.Either<_i5.Failure, _i6.CropSchedule>>);

  @override
  _i4.Future<_i2.Either<_i5.Failure, bool>> deleteSchedule(
    String? userId,
    String? scheduleId,
  ) =>
      (super.noSuchMethod(
            Invocation.method(#deleteSchedule, [userId, scheduleId]),
            returnValue: _i4.Future<_i2.Either<_i5.Failure, bool>>.value(
              _FakeEither_0<_i5.Failure, bool>(
                this,
                Invocation.method(#deleteSchedule, [userId, scheduleId]),
              ),
            ),
          )
          as _i4.Future<_i2.Either<_i5.Failure, bool>>);

  @override
  _i4.Future<_i2.Either<_i5.Failure, Map<String, dynamic>?>> getActiveSchedule(
    String? userId,
  ) =>
      (super.noSuchMethod(
            Invocation.method(#getActiveSchedule, [userId]),
            returnValue: _i4.Future<
              _i2.Either<_i5.Failure, Map<String, dynamic>?>
            >.value(
              _FakeEither_0<_i5.Failure, Map<String, dynamic>?>(
                this,
                Invocation.method(#getActiveSchedule, [userId]),
              ),
            ),
          )
          as _i4.Future<_i2.Either<_i5.Failure, Map<String, dynamic>?>>);
}
