|
| 1 | +// Mocks generated by Mockito 5.4.6 from annotations |
| 2 | +// in simple_blocs/test/stats_bloc_test.dart. |
| 3 | +// Do not manually edit this file. |
| 4 | + |
| 5 | +// ignore_for_file: no_leading_underscores_for_library_prefixes |
| 6 | +import 'dart:async' as _i4; |
| 7 | + |
| 8 | +import 'package:mockito/mockito.dart' as _i1; |
| 9 | +import 'package:simple_blocs/simple_blocs.dart' as _i3; |
| 10 | +import 'package:todos_repository_core/todos_repository_core.dart' as _i2; |
| 11 | + |
| 12 | +// ignore_for_file: type=lint |
| 13 | +// ignore_for_file: avoid_redundant_argument_values |
| 14 | +// ignore_for_file: avoid_setters_without_getters |
| 15 | +// ignore_for_file: comment_references |
| 16 | +// ignore_for_file: deprecated_member_use |
| 17 | +// ignore_for_file: deprecated_member_use_from_same_package |
| 18 | +// ignore_for_file: implementation_imports |
| 19 | +// ignore_for_file: invalid_use_of_visible_for_testing_member |
| 20 | +// ignore_for_file: must_be_immutable |
| 21 | +// ignore_for_file: prefer_const_constructors |
| 22 | +// ignore_for_file: unnecessary_parenthesis |
| 23 | +// ignore_for_file: camel_case_types |
| 24 | +// ignore_for_file: subtype_of_sealed_class |
| 25 | + |
| 26 | +class _FakeReactiveTodosRepository_0 extends _i1.SmartFake |
| 27 | + implements _i2.ReactiveTodosRepository { |
| 28 | + _FakeReactiveTodosRepository_0(Object parent, Invocation parentInvocation) |
| 29 | + : super(parent, parentInvocation); |
| 30 | +} |
| 31 | + |
| 32 | +/// A class which mocks [TodosInteractor]. |
| 33 | +/// |
| 34 | +/// See the documentation for Mockito's code generation for more information. |
| 35 | +class MockTodosInteractor extends _i1.Mock implements _i3.TodosInteractor { |
| 36 | + @override |
| 37 | + _i2.ReactiveTodosRepository get repository => |
| 38 | + (super.noSuchMethod( |
| 39 | + Invocation.getter(#repository), |
| 40 | + returnValue: _FakeReactiveTodosRepository_0( |
| 41 | + this, |
| 42 | + Invocation.getter(#repository), |
| 43 | + ), |
| 44 | + returnValueForMissingStub: _FakeReactiveTodosRepository_0( |
| 45 | + this, |
| 46 | + Invocation.getter(#repository), |
| 47 | + ), |
| 48 | + ) |
| 49 | + as _i2.ReactiveTodosRepository); |
| 50 | + |
| 51 | + @override |
| 52 | + _i4.Stream<List<_i3.Todo>> get todos => |
| 53 | + (super.noSuchMethod( |
| 54 | + Invocation.getter(#todos), |
| 55 | + returnValue: _i4.Stream<List<_i3.Todo>>.empty(), |
| 56 | + returnValueForMissingStub: _i4.Stream<List<_i3.Todo>>.empty(), |
| 57 | + ) |
| 58 | + as _i4.Stream<List<_i3.Todo>>); |
| 59 | + |
| 60 | + @override |
| 61 | + _i4.Stream<bool> get allComplete => |
| 62 | + (super.noSuchMethod( |
| 63 | + Invocation.getter(#allComplete), |
| 64 | + returnValue: _i4.Stream<bool>.empty(), |
| 65 | + returnValueForMissingStub: _i4.Stream<bool>.empty(), |
| 66 | + ) |
| 67 | + as _i4.Stream<bool>); |
| 68 | + |
| 69 | + @override |
| 70 | + _i4.Stream<bool> get hasCompletedTodos => |
| 71 | + (super.noSuchMethod( |
| 72 | + Invocation.getter(#hasCompletedTodos), |
| 73 | + returnValue: _i4.Stream<bool>.empty(), |
| 74 | + returnValueForMissingStub: _i4.Stream<bool>.empty(), |
| 75 | + ) |
| 76 | + as _i4.Stream<bool>); |
| 77 | + |
| 78 | + @override |
| 79 | + _i4.Stream<_i3.Todo> todo(String? id) => |
| 80 | + (super.noSuchMethod( |
| 81 | + Invocation.method(#todo, [id]), |
| 82 | + returnValue: _i4.Stream<_i3.Todo>.empty(), |
| 83 | + returnValueForMissingStub: _i4.Stream<_i3.Todo>.empty(), |
| 84 | + ) |
| 85 | + as _i4.Stream<_i3.Todo>); |
| 86 | + |
| 87 | + @override |
| 88 | + _i4.Future<void> updateTodo(_i3.Todo? todo) => |
| 89 | + (super.noSuchMethod( |
| 90 | + Invocation.method(#updateTodo, [todo]), |
| 91 | + returnValue: _i4.Future<void>.value(), |
| 92 | + returnValueForMissingStub: _i4.Future<void>.value(), |
| 93 | + ) |
| 94 | + as _i4.Future<void>); |
| 95 | + |
| 96 | + @override |
| 97 | + _i4.Future<void> addNewTodo(_i3.Todo? todo) => |
| 98 | + (super.noSuchMethod( |
| 99 | + Invocation.method(#addNewTodo, [todo]), |
| 100 | + returnValue: _i4.Future<void>.value(), |
| 101 | + returnValueForMissingStub: _i4.Future<void>.value(), |
| 102 | + ) |
| 103 | + as _i4.Future<void>); |
| 104 | + |
| 105 | + @override |
| 106 | + _i4.Future<void> deleteTodo(String? id) => |
| 107 | + (super.noSuchMethod( |
| 108 | + Invocation.method(#deleteTodo, [id]), |
| 109 | + returnValue: _i4.Future<void>.value(), |
| 110 | + returnValueForMissingStub: _i4.Future<void>.value(), |
| 111 | + ) |
| 112 | + as _i4.Future<void>); |
| 113 | + |
| 114 | + @override |
| 115 | + _i4.Future<void> clearCompleted([dynamic _0]) => |
| 116 | + (super.noSuchMethod( |
| 117 | + Invocation.method(#clearCompleted, [_0]), |
| 118 | + returnValue: _i4.Future<void>.value(), |
| 119 | + returnValueForMissingStub: _i4.Future<void>.value(), |
| 120 | + ) |
| 121 | + as _i4.Future<void>); |
| 122 | + |
| 123 | + @override |
| 124 | + _i4.Future<List<dynamic>> toggleAll([dynamic _0]) => |
| 125 | + (super.noSuchMethod( |
| 126 | + Invocation.method(#toggleAll, [_0]), |
| 127 | + returnValue: _i4.Future<List<dynamic>>.value(<dynamic>[]), |
| 128 | + returnValueForMissingStub: _i4.Future<List<dynamic>>.value( |
| 129 | + <dynamic>[], |
| 130 | + ), |
| 131 | + ) |
| 132 | + as _i4.Future<List<dynamic>>); |
| 133 | +} |
0 commit comments