1
- // Mocks generated by Mockito 5.2 .0 from annotations
1
+ // Mocks generated by Mockito 5.3 .0 from annotations
2
2
// in google_maps_flutter_web_integration_tests/integration_test/google_maps_controller_test.dart.
3
3
// Do not manually edit this file.
4
4
5
+ // ignore_for_file: no_leading_underscores_for_library_prefixes
5
6
import 'package:google_maps/google_maps.dart' as _i2;
6
7
import 'package:google_maps_flutter_platform_interface/google_maps_flutter_platform_interface.dart'
7
8
as _i4;
@@ -17,8 +18,12 @@ import 'package:mockito/mockito.dart' as _i1;
17
18
// ignore_for_file: prefer_const_constructors
18
19
// ignore_for_file: unnecessary_parenthesis
19
20
// ignore_for_file: camel_case_types
21
+ // ignore_for_file: subtype_of_sealed_class
20
22
21
- class _FakeGMap_0 extends _i1.Fake implements _i2.GMap {}
23
+ class _FakeGMap_0 extends _i1.SmartFake implements _i2.GMap {
24
+ _FakeGMap_0 (Object parent, Invocation parentInvocation)
25
+ : super (parent, parentInvocation);
26
+ }
22
27
23
28
/// A class which mocks [CirclesController] .
24
29
///
@@ -27,18 +32,21 @@ class MockCirclesController extends _i1.Mock implements _i3.CirclesController {
27
32
@override
28
33
Map <_i4.CircleId , _i3.CircleController > get circles =>
29
34
(super .noSuchMethod (Invocation .getter (#circles),
30
- returnValue: < _i4.CircleId , _i3.CircleController > {})
35
+ returnValue: < _i4.CircleId , _i3.CircleController > {},
36
+ returnValueForMissingStub: < _i4.CircleId , _i3.CircleController > {})
31
37
as Map <_i4.CircleId , _i3.CircleController >);
32
38
@override
33
39
_i2.GMap get googleMap => (super .noSuchMethod (Invocation .getter (#googleMap),
34
- returnValue: _FakeGMap_0 ()) as _i2.GMap );
40
+ returnValue: _FakeGMap_0 (this , Invocation .getter (#googleMap)),
41
+ returnValueForMissingStub:
42
+ _FakeGMap_0 (this , Invocation .getter (#googleMap))) as _i2.GMap );
35
43
@override
36
44
set googleMap (_i2.GMap ? _googleMap) =>
37
45
super .noSuchMethod (Invocation .setter (#googleMap, _googleMap),
38
46
returnValueForMissingStub: null );
39
47
@override
40
- int get mapId =>
41
- ( super . noSuchMethod ( Invocation . getter (#mapId), returnValue : 0 ) as int );
48
+ int get mapId => ( super . noSuchMethod ( Invocation . getter (#mapId),
49
+ returnValue : 0 , returnValueForMissingStub : 0 ) as int );
42
50
@override
43
51
set mapId (int ? _mapId) =>
44
52
super .noSuchMethod (Invocation .setter (#mapId, _mapId),
@@ -67,20 +75,23 @@ class MockCirclesController extends _i1.Mock implements _i3.CirclesController {
67
75
class MockPolygonsController extends _i1.Mock
68
76
implements _i3.PolygonsController {
69
77
@override
70
- Map <_i4.PolygonId , _i3.PolygonController > get polygons =>
71
- (super .noSuchMethod (Invocation .getter (#polygons),
72
- returnValue: < _i4.PolygonId , _i3.PolygonController > {})
73
- as Map <_i4.PolygonId , _i3.PolygonController >);
78
+ Map <_i4.PolygonId , _i3.PolygonController > get polygons => (super .noSuchMethod (
79
+ Invocation .getter (#polygons),
80
+ returnValue: < _i4.PolygonId , _i3.PolygonController > {},
81
+ returnValueForMissingStub: < _i4.PolygonId , _i3.PolygonController > {})
82
+ as Map <_i4.PolygonId , _i3.PolygonController >);
74
83
@override
75
84
_i2.GMap get googleMap => (super .noSuchMethod (Invocation .getter (#googleMap),
76
- returnValue: _FakeGMap_0 ()) as _i2.GMap );
85
+ returnValue: _FakeGMap_0 (this , Invocation .getter (#googleMap)),
86
+ returnValueForMissingStub:
87
+ _FakeGMap_0 (this , Invocation .getter (#googleMap))) as _i2.GMap );
77
88
@override
78
89
set googleMap (_i2.GMap ? _googleMap) =>
79
90
super .noSuchMethod (Invocation .setter (#googleMap, _googleMap),
80
91
returnValueForMissingStub: null );
81
92
@override
82
- int get mapId =>
83
- ( super . noSuchMethod ( Invocation . getter (#mapId), returnValue : 0 ) as int );
93
+ int get mapId => ( super . noSuchMethod ( Invocation . getter (#mapId),
94
+ returnValue : 0 , returnValueForMissingStub : 0 ) as int );
84
95
@override
85
96
set mapId (int ? _mapId) =>
86
97
super .noSuchMethod (Invocation .setter (#mapId, _mapId),
@@ -109,20 +120,23 @@ class MockPolygonsController extends _i1.Mock
109
120
class MockPolylinesController extends _i1.Mock
110
121
implements _i3.PolylinesController {
111
122
@override
112
- Map <_i4.PolylineId , _i3.PolylineController > get lines =>
113
- (super .noSuchMethod (Invocation .getter (#lines),
114
- returnValue: < _i4.PolylineId , _i3.PolylineController > {})
115
- as Map <_i4.PolylineId , _i3.PolylineController >);
123
+ Map <_i4.PolylineId , _i3.PolylineController > get lines => (super .noSuchMethod (
124
+ Invocation .getter (#lines),
125
+ returnValue: < _i4.PolylineId , _i3.PolylineController > {},
126
+ returnValueForMissingStub: < _i4.PolylineId , _i3.PolylineController > {})
127
+ as Map <_i4.PolylineId , _i3.PolylineController >);
116
128
@override
117
129
_i2.GMap get googleMap => (super .noSuchMethod (Invocation .getter (#googleMap),
118
- returnValue: _FakeGMap_0 ()) as _i2.GMap );
130
+ returnValue: _FakeGMap_0 (this , Invocation .getter (#googleMap)),
131
+ returnValueForMissingStub:
132
+ _FakeGMap_0 (this , Invocation .getter (#googleMap))) as _i2.GMap );
119
133
@override
120
134
set googleMap (_i2.GMap ? _googleMap) =>
121
135
super .noSuchMethod (Invocation .setter (#googleMap, _googleMap),
122
136
returnValueForMissingStub: null );
123
137
@override
124
- int get mapId =>
125
- ( super . noSuchMethod ( Invocation . getter (#mapId), returnValue : 0 ) as int );
138
+ int get mapId => ( super . noSuchMethod ( Invocation . getter (#mapId),
139
+ returnValue : 0 , returnValueForMissingStub : 0 ) as int );
126
140
@override
127
141
set mapId (int ? _mapId) =>
128
142
super .noSuchMethod (Invocation .setter (#mapId, _mapId),
@@ -152,18 +166,21 @@ class MockMarkersController extends _i1.Mock implements _i3.MarkersController {
152
166
@override
153
167
Map <_i4.MarkerId , _i3.MarkerController > get markers =>
154
168
(super .noSuchMethod (Invocation .getter (#markers),
155
- returnValue: < _i4.MarkerId , _i3.MarkerController > {})
169
+ returnValue: < _i4.MarkerId , _i3.MarkerController > {},
170
+ returnValueForMissingStub: < _i4.MarkerId , _i3.MarkerController > {})
156
171
as Map <_i4.MarkerId , _i3.MarkerController >);
157
172
@override
158
173
_i2.GMap get googleMap => (super .noSuchMethod (Invocation .getter (#googleMap),
159
- returnValue: _FakeGMap_0 ()) as _i2.GMap );
174
+ returnValue: _FakeGMap_0 (this , Invocation .getter (#googleMap)),
175
+ returnValueForMissingStub:
176
+ _FakeGMap_0 (this , Invocation .getter (#googleMap))) as _i2.GMap );
160
177
@override
161
178
set googleMap (_i2.GMap ? _googleMap) =>
162
179
super .noSuchMethod (Invocation .setter (#googleMap, _googleMap),
163
180
returnValueForMissingStub: null );
164
181
@override
165
- int get mapId =>
166
- ( super . noSuchMethod ( Invocation . getter (#mapId), returnValue : 0 ) as int );
182
+ int get mapId => ( super . noSuchMethod ( Invocation . getter (#mapId),
183
+ returnValue : 0 , returnValueForMissingStub : 0 ) as int );
167
184
@override
168
185
set mapId (int ? _mapId) =>
169
186
super .noSuchMethod (Invocation .setter (#mapId, _mapId),
@@ -191,7 +208,7 @@ class MockMarkersController extends _i1.Mock implements _i3.MarkersController {
191
208
@override
192
209
bool isInfoWindowShown (_i4.MarkerId ? markerId) =>
193
210
(super .noSuchMethod (Invocation .method (#isInfoWindowShown, [markerId]),
194
- returnValue: false ) as bool );
211
+ returnValue: false , returnValueForMissingStub : false ) as bool );
195
212
@override
196
213
void bindToMap (int ? mapId, _i2.GMap ? googleMap) =>
197
214
super .noSuchMethod (Invocation .method (#bindToMap, [mapId, googleMap]),
0 commit comments