Line data Source code
1 : // Mocks generated by Mockito 5.0.16 from annotations
2 : // in redfire_test/src/test-doubles/redux/redux_test_doubles.dart.
3 : // Do not manually edit this file.
4 :
5 : import 'dart:async' as _i3;
6 :
7 : import 'package:mockito/mockito.dart' as _i1;
8 : import 'package:redux/src/store.dart' as _i2;
9 :
10 : // ignore_for_file: avoid_redundant_argument_values
11 : // ignore_for_file: avoid_setters_without_getters
12 : // ignore_for_file: comment_references
13 : // ignore_for_file: implementation_imports
14 : // ignore_for_file: invalid_use_of_visible_for_testing_member
15 : // ignore_for_file: prefer_const_constructors
16 : // ignore_for_file: unnecessary_parenthesis
17 : // ignore_for_file: camel_case_types
18 :
19 : /// A class which mocks [Store].
20 : ///
21 : /// See the documentation for Mockito's code generation for more information.
22 : class MockStore<State> extends _i1.Mock implements _i2.Store<State> {
23 0 : MockStore() {
24 0 : _i1.throwOnMissingStub(this);
25 : }
26 :
27 0 : @override
28 0 : _i2.Reducer<State> get reducer => (super.noSuchMethod(
29 0 : Invocation.getter(#reducer),
30 0 : returnValue: (State state, dynamic action) => null)
31 : as _i2.Reducer<State>);
32 0 : @override
33 : set reducer(_i2.Reducer<State>? _reducer) =>
34 0 : super.noSuchMethod(Invocation.setter(#reducer, _reducer),
35 : returnValueForMissingStub: null);
36 0 : @override
37 : State get state =>
38 0 : (super.noSuchMethod(Invocation.getter(#state), returnValue: null)
39 : as State);
40 0 : @override
41 : _i3.Stream<State> get onChange =>
42 0 : (super.noSuchMethod(Invocation.getter(#onChange),
43 0 : returnValue: Stream<State>.empty()) as _i3.Stream<State>);
44 0 : @override
45 : _i3.Future<dynamic> teardown() =>
46 0 : (super.noSuchMethod(Invocation.method(#teardown, []),
47 0 : returnValue: Future<dynamic>.value()) as _i3.Future<dynamic>);
48 0 : @override
49 0 : String toString() => super.toString();
50 : }
|