// Mocks generated by Mockito 5.4.6 from annotations // in wger/test/routine/routine_edit_test.dart. // Do not manually edit this file. // ignore_for_file: no_leading_underscores_for_library_prefixes import 'dart:async' as _i13; import 'dart:ui' as _i16; import 'package:mockito/mockito.dart' as _i1; import 'package:mockito/src/dummies.dart' as _i15; import 'package:wger/models/exercises/exercise.dart' as _i12; import 'package:wger/models/workouts/base_config.dart' as _i7; import 'package:wger/models/workouts/day.dart' as _i4; import 'package:wger/models/workouts/day_data.dart' as _i14; import 'package:wger/models/workouts/repetition_unit.dart' as _i11; import 'package:wger/models/workouts/routine.dart' as _i3; import 'package:wger/models/workouts/session.dart' as _i10; import 'package:wger/models/workouts/slot.dart' as _i5; import 'package:wger/models/workouts/slot_entry.dart' as _i6; import 'package:wger/models/workouts/weight_unit.dart' as _i9; import 'package:wger/providers/base_provider.dart' as _i2; import 'package:wger/providers/routines.dart' as _i8; // 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 _FakeWgerBaseProvider_0 extends _i1.SmartFake implements _i2.WgerBaseProvider { _FakeWgerBaseProvider_0(Object parent, Invocation parentInvocation) : super(parent, parentInvocation); } class _FakeRoutine_1 extends _i1.SmartFake implements _i3.Routine { _FakeRoutine_1(Object parent, Invocation parentInvocation) : super(parent, parentInvocation); } class _FakeDay_2 extends _i1.SmartFake implements _i4.Day { _FakeDay_2(Object parent, Invocation parentInvocation) : super(parent, parentInvocation); } class _FakeSlot_3 extends _i1.SmartFake implements _i5.Slot { _FakeSlot_3(Object parent, Invocation parentInvocation) : super(parent, parentInvocation); } class _FakeSlotEntry_4 extends _i1.SmartFake implements _i6.SlotEntry { _FakeSlotEntry_4(Object parent, Invocation parentInvocation) : super(parent, parentInvocation); } class _FakeBaseConfig_5 extends _i1.SmartFake implements _i7.BaseConfig { _FakeBaseConfig_5(Object parent, Invocation parentInvocation) : super(parent, parentInvocation); } /// A class which mocks [RoutinesProvider]. /// /// See the documentation for Mockito's code generation for more information. class MockRoutinesProvider extends _i1.Mock implements _i8.RoutinesProvider { MockRoutinesProvider() { _i1.throwOnMissingStub(this); } @override _i2.WgerBaseProvider get baseProvider => (super.noSuchMethod( Invocation.getter(#baseProvider), returnValue: _FakeWgerBaseProvider_0( this, Invocation.getter(#baseProvider), ), ) as _i2.WgerBaseProvider); @override List<_i9.WeightUnit> get weightUnits => (super.noSuchMethod( Invocation.getter(#weightUnits), returnValue: <_i9.WeightUnit>[], ) as List<_i9.WeightUnit>); @override List<_i10.WorkoutSession> get sessions => (super.noSuchMethod( Invocation.getter(#sessions), returnValue: <_i10.WorkoutSession>[], ) as List<_i10.WorkoutSession>); @override List<_i3.Routine> get routines => (super.noSuchMethod( Invocation.getter(#routines), returnValue: <_i3.Routine>[], ) as List<_i3.Routine>); @override List<_i11.RepetitionUnit> get repetitionUnits => (super.noSuchMethod( Invocation.getter(#repetitionUnits), returnValue: <_i11.RepetitionUnit>[], ) as List<_i11.RepetitionUnit>); @override set activeRoutine(_i3.Routine? _activeRoutine) => super.noSuchMethod( Invocation.setter(#activeRoutine, _activeRoutine), returnValueForMissingStub: null, ); @override set exercises(List<_i12.Exercise>? exercises) => super.noSuchMethod( Invocation.setter(#exercises, exercises), returnValueForMissingStub: null, ); @override set repetitionUnits(List<_i11.RepetitionUnit>? units) => super.noSuchMethod( Invocation.setter(#repetitionUnits, units), returnValueForMissingStub: null, ); @override set weightUnits(List<_i9.WeightUnit>? units) => super.noSuchMethod( Invocation.setter(#weightUnits, units), returnValueForMissingStub: null, ); @override set sessions(List<_i10.WorkoutSession>? sessions) => super.noSuchMethod( Invocation.setter(#sessions, sessions), returnValueForMissingStub: null, ); @override bool get hasListeners => (super.noSuchMethod(Invocation.getter(#hasListeners), returnValue: false) as bool); @override List<_i10.WorkoutSession> getSessionsForRoutine(int? id) => (super.noSuchMethod( Invocation.method(#getSessionsForRoutine, [id]), returnValue: <_i10.WorkoutSession>[], ) as List<_i10.WorkoutSession>); @override void clear() => super.noSuchMethod( Invocation.method(#clear, []), returnValueForMissingStub: null, ); @override List<_i3.Routine> getPlans() => (super.noSuchMethod( Invocation.method(#getPlans, []), returnValue: <_i3.Routine>[], ) as List<_i3.Routine>); @override _i3.Routine findById(int? id) => (super.noSuchMethod( Invocation.method(#findById, [id]), returnValue: _FakeRoutine_1( this, Invocation.method(#findById, [id]), ), ) as _i3.Routine); @override int findIndexById(int? id) => (super.noSuchMethod( Invocation.method(#findIndexById, [id]), returnValue: 0, ) as int); @override _i13.Future fetchAndSetAllRoutinesFull() => (super.noSuchMethod( Invocation.method(#fetchAndSetAllRoutinesFull, []), returnValue: _i13.Future.value(), returnValueForMissingStub: _i13.Future.value(), ) as _i13.Future); @override _i13.Future fetchAndSetAllRoutinesSparse() => (super.noSuchMethod( Invocation.method(#fetchAndSetAllRoutinesSparse, []), returnValue: _i13.Future.value(), returnValueForMissingStub: _i13.Future.value(), ) as _i13.Future); @override _i13.Future setExercisesAndUnits(List<_i14.DayData>? entries) => (super.noSuchMethod( Invocation.method(#setExercisesAndUnits, [entries]), returnValue: _i13.Future.value(), returnValueForMissingStub: _i13.Future.value(), ) as _i13.Future); @override _i13.Future<_i3.Routine> fetchAndSetRoutineSparse(int? planId) => (super.noSuchMethod( Invocation.method(#fetchAndSetRoutineSparse, [planId]), returnValue: _i13.Future<_i3.Routine>.value( _FakeRoutine_1( this, Invocation.method(#fetchAndSetRoutineSparse, [planId]), ), ), ) as _i13.Future<_i3.Routine>); @override _i13.Future<_i3.Routine> fetchAndSetRoutineFull(int? routineId) => (super.noSuchMethod( Invocation.method(#fetchAndSetRoutineFull, [routineId]), returnValue: _i13.Future<_i3.Routine>.value( _FakeRoutine_1( this, Invocation.method(#fetchAndSetRoutineFull, [routineId]), ), ), ) as _i13.Future<_i3.Routine>); @override _i13.Future<_i3.Routine> addRoutine(_i3.Routine? routine) => (super.noSuchMethod( Invocation.method(#addRoutine, [routine]), returnValue: _i13.Future<_i3.Routine>.value( _FakeRoutine_1(this, Invocation.method(#addRoutine, [routine])), ), ) as _i13.Future<_i3.Routine>); @override _i13.Future editRoutine(_i3.Routine? routine) => (super.noSuchMethod( Invocation.method(#editRoutine, [routine]), returnValue: _i13.Future.value(), returnValueForMissingStub: _i13.Future.value(), ) as _i13.Future); @override _i13.Future deleteRoutine(int? id) => (super.noSuchMethod( Invocation.method(#deleteRoutine, [id]), returnValue: _i13.Future.value(), returnValueForMissingStub: _i13.Future.value(), ) as _i13.Future); @override _i13.Future<_i4.Day> addDay(_i4.Day? day) => (super.noSuchMethod( Invocation.method(#addDay, [day]), returnValue: _i13.Future<_i4.Day>.value( _FakeDay_2(this, Invocation.method(#addDay, [day])), ), ) as _i13.Future<_i4.Day>); @override _i13.Future editDay(_i4.Day? day) => (super.noSuchMethod( Invocation.method(#editDay, [day]), returnValue: _i13.Future.value(), returnValueForMissingStub: _i13.Future.value(), ) as _i13.Future); @override _i13.Future editDays(List<_i4.Day>? days) => (super.noSuchMethod( Invocation.method(#editDays, [days]), returnValue: _i13.Future.value(), returnValueForMissingStub: _i13.Future.value(), ) as _i13.Future); @override _i13.Future deleteDay(int? dayId) => (super.noSuchMethod( Invocation.method(#deleteDay, [dayId]), returnValue: _i13.Future.value(), returnValueForMissingStub: _i13.Future.value(), ) as _i13.Future); @override _i13.Future<_i5.Slot> addSlot(_i5.Slot? slot, int? routineId) => (super.noSuchMethod( Invocation.method(#addSlot, [slot, routineId]), returnValue: _i13.Future<_i5.Slot>.value( _FakeSlot_3(this, Invocation.method(#addSlot, [slot, routineId])), ), ) as _i13.Future<_i5.Slot>); @override _i13.Future deleteSlot(int? slotId, int? routineId) => (super.noSuchMethod( Invocation.method(#deleteSlot, [slotId, routineId]), returnValue: _i13.Future.value(), returnValueForMissingStub: _i13.Future.value(), ) as _i13.Future); @override _i13.Future editSlot(_i5.Slot? slot, int? routineId) => (super.noSuchMethod( Invocation.method(#editSlot, [slot, routineId]), returnValue: _i13.Future.value(), returnValueForMissingStub: _i13.Future.value(), ) as _i13.Future); @override _i13.Future editSlots(List<_i5.Slot>? slots, int? routineId) => (super.noSuchMethod( Invocation.method(#editSlots, [slots, routineId]), returnValue: _i13.Future.value(), returnValueForMissingStub: _i13.Future.value(), ) as _i13.Future); @override _i13.Future<_i6.SlotEntry> addSlotEntry( _i6.SlotEntry? entry, int? routineId, ) => (super.noSuchMethod( Invocation.method(#addSlotEntry, [entry, routineId]), returnValue: _i13.Future<_i6.SlotEntry>.value( _FakeSlotEntry_4( this, Invocation.method(#addSlotEntry, [entry, routineId]), ), ), ) as _i13.Future<_i6.SlotEntry>); @override _i13.Future deleteSlotEntry(int? id, int? routineId) => (super.noSuchMethod( Invocation.method(#deleteSlotEntry, [id, routineId]), returnValue: _i13.Future.value(), returnValueForMissingStub: _i13.Future.value(), ) as _i13.Future); @override _i13.Future editSlotEntry(_i6.SlotEntry? entry, int? routineId) => (super.noSuchMethod( Invocation.method(#editSlotEntry, [entry, routineId]), returnValue: _i13.Future.value(), returnValueForMissingStub: _i13.Future.value(), ) as _i13.Future); @override String getConfigUrl(_i6.ConfigType? type) => (super.noSuchMethod( Invocation.method(#getConfigUrl, [type]), returnValue: _i15.dummyValue( this, Invocation.method(#getConfigUrl, [type]), ), ) as String); @override _i13.Future<_i7.BaseConfig> editConfig( _i7.BaseConfig? config, _i6.ConfigType? type, ) => (super.noSuchMethod( Invocation.method(#editConfig, [config, type]), returnValue: _i13.Future<_i7.BaseConfig>.value( _FakeBaseConfig_5( this, Invocation.method(#editConfig, [config, type]), ), ), ) as _i13.Future<_i7.BaseConfig>); @override _i13.Future<_i7.BaseConfig> addConfig( _i7.BaseConfig? config, _i6.ConfigType? type, ) => (super.noSuchMethod( Invocation.method(#addConfig, [config, type]), returnValue: _i13.Future<_i7.BaseConfig>.value( _FakeBaseConfig_5( this, Invocation.method(#addConfig, [config, type]), ), ), ) as _i13.Future<_i7.BaseConfig>); @override _i13.Future deleteConfig(int? id, _i6.ConfigType? type) => (super.noSuchMethod( Invocation.method(#deleteConfig, [id, type]), returnValue: _i13.Future.value(), returnValueForMissingStub: _i13.Future.value(), ) as _i13.Future); @override _i13.Future handleConfig( _i6.SlotEntry? entry, num? value, _i6.ConfigType? type, ) => (super.noSuchMethod( Invocation.method(#handleConfig, [entry, value, type]), returnValue: _i13.Future.value(), returnValueForMissingStub: _i13.Future.value(), ) as _i13.Future); @override void addListener(_i16.VoidCallback? listener) => super.noSuchMethod( Invocation.method(#addListener, [listener]), returnValueForMissingStub: null, ); @override void removeListener(_i16.VoidCallback? listener) => super.noSuchMethod( Invocation.method(#removeListener, [listener]), returnValueForMissingStub: null, ); @override void dispose() => super.noSuchMethod( Invocation.method(#dispose, []), returnValueForMissingStub: null, ); @override void notifyListeners() => super.noSuchMethod( Invocation.method(#notifyListeners, []), returnValueForMissingStub: null, ); }